2007-11-09 07:40:43 +00:00
|
|
|
#
|
|
|
|
# Makefile for the Linux/SuperH kernel.
|
|
|
|
#
|
|
|
|
|
2007-11-10 11:35:53 +00:00
|
|
|
extra-y := head_32.o init_task.o vmlinux.lds
|
2007-11-09 07:40:43 +00:00
|
|
|
|
2008-11-12 11:11:47 +00:00
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
# Do not profile debug and lowlevel utilities
|
|
|
|
CFLAGS_REMOVE_ftrace.o = -pg
|
|
|
|
endif
|
|
|
|
|
2008-11-26 06:52:44 +00:00
|
|
|
obj-y := debugtraps.o disassemble.o idle.o io.o io_generic.o irq.o \
|
2008-11-26 05:31:03 +00: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 07:40:43 +00: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
|
|
|
|
obj-$(CONFIG_SH_KGDB) += kgdb_stub.o kgdb_jmp.o
|
|
|
|
obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o
|
2007-11-11 09:22:55 +00:00
|
|
|
obj-$(CONFIG_MODULES) += sh_ksyms_32.o module.o
|
2007-11-09 07:40:43 +00: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 11:18:21 +00:00
|
|
|
obj-$(CONFIG_IO_TRAPPED) += io_trapped.o
|
2008-09-05 08:15:39 +00:00
|
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
2008-10-20 04:04:06 +00:00
|
|
|
obj-$(CONFIG_GENERIC_GPIO) += gpio.o
|
2008-11-12 11:11:47 +00:00
|
|
|
obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
|
2007-11-09 07:40:43 +00:00
|
|
|
|
|
|
|
EXTRA_CFLAGS += -Werror
|