2007-11-09 02:40:43 -05:00
|
|
|
#
|
|
|
|
# Makefile for the Linux/SuperH kernel.
|
|
|
|
#
|
|
|
|
|
2007-11-10 06:35:53 -05:00
|
|
|
extra-y := head_32.o init_task.o vmlinux.lds
|
2007-11-09 02:40:43 -05:00
|
|
|
|
2008-11-12 06:11:47 -05:00
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
# Do not profile debug and lowlevel utilities
|
|
|
|
CFLAGS_REMOVE_ftrace.o = -pg
|
|
|
|
endif
|
|
|
|
|
2008-11-26 01:52:44 -05:00
|
|
|
obj-y := debugtraps.o disassemble.o idle.o io.o io_generic.o irq.o \
|
2008-11-26 00:31:03 -05:00
|
|
|
machvec.o process_32.o ptrace_32.o setup.o signal_32.o \
|
|
|
|
sys_sh.o sys_sh32.o syscalls_32.o time_32.o topology.o \
|
|
|
|
traps.o traps_32.o
|
2007-11-09 02:40:43 -05:00
|
|
|
|
|
|
|
obj-y += cpu/ timers/
|
|
|
|
obj-$(CONFIG_VSYSCALL) += vsyscall/
|
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
|
|
obj-$(CONFIG_CF_ENABLER) += cf-enabler.o
|
|
|
|
obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o
|
2008-12-11 04:46:46 -05:00
|
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
2007-11-09 02:40:43 -05:00
|
|
|
obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o
|
2007-11-11 04:22:55 -05:00
|
|
|
obj-$(CONFIG_MODULES) += sh_ksyms_32.o module.o
|
2007-11-09 02:40:43 -05:00
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
|
|
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
|
|
|
|
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
|
|
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
2008-02-07 06:18:21 -05:00
|
|
|
obj-$(CONFIG_IO_TRAPPED) += io_trapped.o
|
2008-09-05 04:15:39 -04:00
|
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
2008-10-20 00:04:06 -04:00
|
|
|
obj-$(CONFIG_GENERIC_GPIO) += gpio.o
|
2008-11-12 06:11:47 -05:00
|
|
|
obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
|
2007-11-09 02:40:43 -05:00
|
|
|
|
|
|
|
EXTRA_CFLAGS += -Werror
|