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
|
|
|
|
|
2007-11-09 15:57:04 +08:00
|
|
|
obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_32.o \
|
2008-10-20 12:04:06 +08:00
|
|
|
ptrace_32.o setup.o signal_32.o sys_sh.o sys_sh32.o \
|
2007-11-21 22:27:52 +08:00
|
|
|
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_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 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_PM) += pm.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
|
2007-11-09 15:40:43 +08:00
|
|
|
|
|
|
|
EXTRA_CFLAGS += -Werror
|