diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-09 02:40:43 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:41 -0500 |
commit | 5055235554804b39c613ada76d7598c14265a00b (patch) | |
tree | 292dc71eb6854486b859d7f81e9eb08454e24c2c /arch/sh | |
parent | cdcc970829e81da3445346cb71b2ea264c9952b9 (diff) |
sh: Have 32-bit use arch/sh/kernel/Makefile_32.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/Makefile | 30 | ||||
-rw-r--r-- | arch/sh/kernel/Makefile_32 | 25 |
2 files changed, 30 insertions, 25 deletions
diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index 4b81d9c47b00..349d833deab5 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile | |||
@@ -1,25 +1,5 @@ | |||
1 | # | 1 | ifeq ($(CONFIG_SUPERH32),y) |
2 | # Makefile for the Linux/SuperH kernel. | 2 | include ${srctree}/arch/sh/kernel/Makefile_32 |
3 | # | 3 | else |
4 | 4 | include ${srctree}/arch/sh/kernel/Makefile_64 | |
5 | extra-y := head.o init_task.o vmlinux.lds | 5 | endif |
6 | |||
7 | obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process.o ptrace.o \ | ||
8 | semaphore.o setup.o signal.o sys_sh.o syscalls.o \ | ||
9 | time.o topology.o traps.o | ||
10 | |||
11 | obj-y += cpu/ timers/ | ||
12 | obj-$(CONFIG_VSYSCALL) += vsyscall/ | ||
13 | obj-$(CONFIG_SMP) += smp.o | ||
14 | obj-$(CONFIG_CF_ENABLER) += cf-enabler.o | ||
15 | obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o | ||
16 | obj-$(CONFIG_SH_KGDB) += kgdb_stub.o kgdb_jmp.o | ||
17 | obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o | ||
18 | obj-$(CONFIG_MODULES) += sh_ksyms.o module.o | ||
19 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
20 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o | ||
21 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | ||
22 | obj-$(CONFIG_PM) += pm.o | ||
23 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | ||
24 | |||
25 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/sh/kernel/Makefile_32 b/arch/sh/kernel/Makefile_32 new file mode 100644 index 000000000000..4b81d9c47b00 --- /dev/null +++ b/arch/sh/kernel/Makefile_32 | |||
@@ -0,0 +1,25 @@ | |||
1 | # | ||
2 | # Makefile for the Linux/SuperH kernel. | ||
3 | # | ||
4 | |||
5 | extra-y := head.o init_task.o vmlinux.lds | ||
6 | |||
7 | obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process.o ptrace.o \ | ||
8 | semaphore.o setup.o signal.o sys_sh.o syscalls.o \ | ||
9 | time.o topology.o traps.o | ||
10 | |||
11 | obj-y += cpu/ timers/ | ||
12 | obj-$(CONFIG_VSYSCALL) += vsyscall/ | ||
13 | obj-$(CONFIG_SMP) += smp.o | ||
14 | obj-$(CONFIG_CF_ENABLER) += cf-enabler.o | ||
15 | obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o | ||
16 | obj-$(CONFIG_SH_KGDB) += kgdb_stub.o kgdb_jmp.o | ||
17 | obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o | ||
18 | obj-$(CONFIG_MODULES) += sh_ksyms.o module.o | ||
19 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
20 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o | ||
21 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | ||
22 | obj-$(CONFIG_PM) += pm.o | ||
23 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | ||
24 | |||
25 | EXTRA_CFLAGS += -Werror | ||