Makefile_32 1.1 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 io.o io_generic.o irq.o machvec.o process_32.o \
13
	   ptrace_32.o setup.o signal_32.o sys_sh.o sys_sh32.o \
14
	   syscalls_32.o time_32.o topology.o traps.o traps_32.o
15 16 17 18 19 20 21 22

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
23
obj-$(CONFIG_MODULES)		+= sh_ksyms_32.o module.o
24 25 26 27 28
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
M
Magnus Damm 已提交
29
obj-$(CONFIG_IO_TRAPPED)	+= io_trapped.o
C
Chris Smith 已提交
30
obj-$(CONFIG_KPROBES)		+= kprobes.o
31
obj-$(CONFIG_GENERIC_GPIO)	+= gpio.o
M
Matt Fleming 已提交
32
obj-$(CONFIG_DYNAMIC_FTRACE)	+= ftrace.o
33 34

EXTRA_CFLAGS += -Werror