xref: /linux/arch/microblaze/kernel/cpu/Makefile (revision 55d42f6169760d052330f3c949c02e37867b87d8)
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