2007-11-09 15:40:43 +08:00
|
|
|
#
|
|
|
|
# Makefile for the Linux/SuperH kernel.
|
|
|
|
#
|
|
|
|
|
2007-11-10 19:35:53 +08:00
|
|
|
extra-y := head_32.o init_task.o vmlinux.lds
|
2007-11-09 15:40:43 +08:00
|
|
|
|
2008-11-12 19:11:47 +08:00
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
# Do not profile debug and lowlevel utilities
|
|
|
|
CFLAGS_REMOVE_ftrace.o = -pg
|
|
|
|
endif
|
|
|
|
|
2008-12-17 14:56:06 +08:00
|
|
|
obj-y := debugtraps.o idle.o io.o io_generic.o irq.o \
|
2008-11-26 13:31:03 +08: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 15:40:43 +08:00
|
|
|
|
|
|
|
obj-y += cpu/ timers/
|
|
|
|
obj-$(CONFIG_VSYSCALL) += vsyscall/
|
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
|
|
obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o
|
2008-12-11 17:46:46 +08:00
|
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
2007-11-09 15:40:43 +08:00
|
|
|
obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o
|
2007-11-11 17:22:55 +08:00
|
|
|
obj-$(CONFIG_MODULES) += sh_ksyms_32.o module.o
|
2007-11-09 15:40:43 +08: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 19:18:21 +08:00
|
|
|
obj-$(CONFIG_IO_TRAPPED) += io_trapped.o
|
2008-09-05 16:15:39 +08:00
|
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
2008-10-20 12:04:06 +08:00
|
|
|
obj-$(CONFIG_GENERIC_GPIO) += gpio.o
|
2008-11-12 19:11:47 +08:00
|
|
|
obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
|
2008-12-17 14:56:06 +08:00
|
|
|
obj-$(CONFIG_DUMP_CODE) += disassemble.o
|
2007-11-09 15:40:43 +08:00
|
|
|
|
|
|
|
EXTRA_CFLAGS += -Werror
|