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