]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/Makefile
Merge branches 'tracing/ftrace' and 'tracing/urgent' into tracing/core
[mv-sheeva.git] / kernel / Makefile
index 19fad003b19d6ac0752597f5a23e18341d1d579a..03a45e7e87b71a9b103d390d632a3d57da9b7075 100644 (file)
@@ -21,6 +21,10 @@ CFLAGS_REMOVE_cgroup-debug.o = -pg
 CFLAGS_REMOVE_sched_clock.o = -pg
 CFLAGS_REMOVE_sched.o = -pg
 endif
+ifdef CONFIG_FUNCTION_RET_TRACER
+CFLAGS_REMOVE_extable.o = -pg # For __kernel_text_address()
+CFLAGS_REMOVE_module.o = -pg # For __module_text_address()
+endif
 
 obj-$(CONFIG_FREEZER) += freezer.o
 obj-$(CONFIG_PROFILING) += profile.o