diff options
Diffstat (limited to 'arch/sh/kernel/Makefile_32')
-rw-r--r-- | arch/sh/kernel/Makefile_32 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/kernel/Makefile_32 b/arch/sh/kernel/Makefile_32 index 48edfb145fb4..76fcac1596ce 100644 --- a/arch/sh/kernel/Makefile_32 +++ b/arch/sh/kernel/Makefile_32 | |||
@@ -4,6 +4,11 @@ | |||
4 | 4 | ||
5 | extra-y := head_32.o init_task.o vmlinux.lds | 5 | extra-y := head_32.o init_task.o vmlinux.lds |
6 | 6 | ||
7 | ifdef CONFIG_FUNCTION_TRACER | ||
8 | # Do not profile debug and lowlevel utilities | ||
9 | CFLAGS_REMOVE_ftrace.o = -pg | ||
10 | endif | ||
11 | |||
7 | obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_32.o \ | 12 | obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_32.o \ |
8 | ptrace_32.o setup.o signal_32.o sys_sh.o sys_sh32.o \ | 13 | ptrace_32.o setup.o signal_32.o sys_sh.o sys_sh32.o \ |
9 | syscalls_32.o time_32.o topology.o traps.o traps_32.o | 14 | syscalls_32.o time_32.o topology.o traps.o traps_32.o |
@@ -24,5 +29,6 @@ obj-$(CONFIG_STACKTRACE) += stacktrace.o | |||
24 | obj-$(CONFIG_IO_TRAPPED) += io_trapped.o | 29 | obj-$(CONFIG_IO_TRAPPED) += io_trapped.o |
25 | obj-$(CONFIG_KPROBES) += kprobes.o | 30 | obj-$(CONFIG_KPROBES) += kprobes.o |
26 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o | 31 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o |
32 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o | ||
27 | 33 | ||
28 | EXTRA_CFLAGS += -Werror | 34 | EXTRA_CFLAGS += -Werror |