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