xref: /linux/arch/microblaze/kernel/cpu/Makefile (revision 0be3ff0c)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Build the appropriate CPU version support
4#
5
6ifdef CONFIG_FUNCTION_TRACER
7CFLAGS_REMOVE_cache.o = -pg
8endif
9
10ccflags-y := -DCPU_MAJOR=$(CPU_MAJOR) -DCPU_MINOR=$(CPU_MINOR) \
11		-DCPU_REV=$(CPU_REV)
12
13obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o
14