Makefile_32 1.2 KB
Newer Older
1 2 3 4
#
# Makefile for the Linux/SuperH kernel.
#

5
extra-y	:= head_32.o init_task.o vmlinux.lds
6

M
Matt Fleming 已提交
7 8 9 10 11
ifdef CONFIG_FUNCTION_TRACER
# Do not profile debug and lowlevel utilities
CFLAGS_REMOVE_ftrace.o = -pg
endif

12
obj-y	:= debugtraps.o dumpstack.o idle.o io.o io_generic.o irq.o	\
13
	   machvec.o process_32.o ptrace_32.o setup.o signal_32.o	\
14 15
	   sys_sh.o sys_sh32.o syscalls_32.o time.o topology.o		\
	   traps.o traps_32.o unwinder.o
16

17
obj-y				+= cpu/
18 19 20
obj-$(CONFIG_VSYSCALL)		+= vsyscall/
obj-$(CONFIG_SMP)		+= smp.o
obj-$(CONFIG_SH_STANDARD_BIOS)	+= sh_bios.o
P
Paul Mundt 已提交
21
obj-$(CONFIG_KGDB)		+= kgdb.o
22
obj-$(CONFIG_SH_CPU_FREQ)	+= cpufreq.o
23
obj-$(CONFIG_MODULES)		+= sh_ksyms_32.o module.o
24 25 26 27
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
M
Magnus Damm 已提交
28
obj-$(CONFIG_IO_TRAPPED)	+= io_trapped.o
C
Chris Smith 已提交
29
obj-$(CONFIG_KPROBES)		+= kprobes.o
30
obj-$(CONFIG_GENERIC_GPIO)	+= gpio.o
M
Matt Fleming 已提交
31
obj-$(CONFIG_DYNAMIC_FTRACE)	+= ftrace.o
32
obj-$(CONFIG_FTRACE_SYSCALLS)	+= ftrace.o
M
Matt Fleming 已提交
33
obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
34
obj-$(CONFIG_DUMP_CODE)		+= disassemble.o
M
Magnus Damm 已提交
35
obj-$(CONFIG_HIBERNATION)	+= swsusp.o
36

37 38
obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)	+= localtimer.o

39
EXTRA_CFLAGS += -Werror