Merge branch 'tracing/urgent' into tracing/ftrace
[linux-2.6] / arch / sh / kernel / Makefile_32
1 #
2 # Makefile for the Linux/SuperH kernel.
3 #
4
5 extra-y := head_32.o init_task.o vmlinux.lds
6
7 ifdef CONFIG_FUNCTION_TRACER
8 # Do not profile debug and lowlevel utilities
9 CFLAGS_REMOVE_ftrace.o = -pg
10 endif
11
12 obj-y   := debugtraps.o idle.o io.o io_generic.o irq.o                  \
13            machvec.o process_32.o ptrace_32.o setup.o signal_32.o       \
14            sys_sh.o sys_sh32.o syscalls_32.o time_32.o topology.o       \
15            traps.o traps_32.o
16
17 obj-y                           += cpu/ timers/
18 obj-$(CONFIG_VSYSCALL)          += vsyscall/
19 obj-$(CONFIG_SMP)               += smp.o
20 obj-$(CONFIG_SH_STANDARD_BIOS)  += sh_bios.o
21 obj-$(CONFIG_KGDB)              += kgdb.o
22 obj-$(CONFIG_SH_CPU_FREQ)       += cpufreq.o
23 obj-$(CONFIG_MODULES)           += sh_ksyms_32.o module.o
24 obj-$(CONFIG_EARLY_PRINTK)      += early_printk.o
25 obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o
26 obj-$(CONFIG_CRASH_DUMP)        += crash_dump.o
27 obj-$(CONFIG_STACKTRACE)        += stacktrace.o
28 obj-$(CONFIG_IO_TRAPPED)        += io_trapped.o
29 obj-$(CONFIG_KPROBES)           += kprobes.o
30 obj-$(CONFIG_GENERIC_GPIO)      += gpio.o
31 obj-$(CONFIG_DYNAMIC_FTRACE)    += ftrace.o
32 obj-$(CONFIG_DUMP_CODE)         += disassemble.o
33 obj-$(CONFIG_HIBERNATION)       += swsusp.o
34
35 EXTRA_CFLAGS += -Werror