diff options
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 9a3ec66a9d84..af3be57acbbb 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -23,6 +23,10 @@ CFLAGS_REMOVE_cgroup-debug.o = -pg | |||
23 | CFLAGS_REMOVE_sched_clock.o = -pg | 23 | CFLAGS_REMOVE_sched_clock.o = -pg |
24 | CFLAGS_REMOVE_sched.o = -mno-spe -pg | 24 | CFLAGS_REMOVE_sched.o = -mno-spe -pg |
25 | endif | 25 | endif |
26 | ifdef CONFIG_FUNCTION_RET_TRACER | ||
27 | CFLAGS_REMOVE_extable.o = -pg # For __kernel_text_address() | ||
28 | CFLAGS_REMOVE_module.o = -pg # For __module_text_address() | ||
29 | endif | ||
26 | 30 | ||
27 | obj-$(CONFIG_FREEZER) += freezer.o | 31 | obj-$(CONFIG_FREEZER) += freezer.o |
28 | obj-$(CONFIG_PROFILING) += profile.o | 32 | obj-$(CONFIG_PROFILING) += profile.o |