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