summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/cpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/kernel/cpu/Makefile')
-rw-r--r--arch/microblaze/kernel/cpu/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/cpu/Makefile b/arch/microblaze/kernel/cpu/Makefile
index 20646e54927..59cc7bceaf8 100644
--- a/arch/microblaze/kernel/cpu/Makefile
+++ b/arch/microblaze/kernel/cpu/Makefile
@@ -2,6 +2,10 @@
# Build the appropriate CPU version support
#
+ifdef CONFIG_FUNCTION_TRACER
+CFLAGS_REMOVE_cache.o = -pg
+endif
+
EXTRA_CFLAGS += -DCPU_MAJOR=$(CPU_MAJOR) -DCPU_MINOR=$(CPU_MINOR) \
-DCPU_REV=$(CPU_REV)