sh: Conditionalize the code dumper on CONFIG_DUMP_CODE.
[linux-2.6] / arch / sh / kernel / Makefile_64
1 extra-y := head_64.o init_task.o vmlinux.lds
2
3 obj-y   := debugtraps.o idle.o io.o io_generic.o irq.o machvec.o process_64.o \
4            ptrace_64.o setup.o signal_64.o sys_sh.o sys_sh64.o \
5            syscalls_64.o time_64.o topology.o traps.o traps_64.o
6
7 obj-y                           += cpu/ timers/
8 obj-$(CONFIG_VSYSCALL)          += vsyscall/
9 obj-$(CONFIG_SMP)               += smp.o
10 obj-$(CONFIG_SH_STANDARD_BIOS)  += sh_bios.o
11 obj-$(CONFIG_SH_CPU_FREQ)       += cpufreq.o
12 obj-$(CONFIG_MODULES)           += sh_ksyms_64.o module.o
13 obj-$(CONFIG_EARLY_PRINTK)      += early_printk.o
14 obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o
15 obj-$(CONFIG_CRASH_DUMP)        += crash_dump.o
16 obj-$(CONFIG_STACKTRACE)        += stacktrace.o
17 obj-$(CONFIG_IO_TRAPPED)        += io_trapped.o
18 obj-$(CONFIG_GENERIC_GPIO)      += gpio.o
19
20 EXTRA_CFLAGS += -Werror