summaryrefslogtreecommitdiffstats
path: root/arch/sh/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-11 17:41:56 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:18:45 +0900
commit4c91d6b105af5ab3011158addbd23f038aee6a00 (patch)
treea0911654bf3f15b1c54c8a8f0cda98df3ee5407d /arch/sh/Makefile
parent151468d2b42569f3aff1aedc0dddfed45159c2ab (diff)
downloadlinux-stable-4c91d6b105af5ab3011158addbd23f038aee6a00.tar.gz
linux-stable-4c91d6b105af5ab3011158addbd23f038aee6a00.tar.bz2
linux-stable-4c91d6b105af5ab3011158addbd23f038aee6a00.zip
sh: Fix up the head-y targets for _32 and _64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r--arch/sh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 897f1c590fac..4da3bc696b3d 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -95,7 +95,9 @@ endif
KBUILD_CFLAGS += -pipe $(cflags-y)
KBUILD_AFLAGS += $(cflags-y)
-head-y := arch/sh/kernel/head.o arch/sh/kernel/init_task.o
+head-y := arch/sh/kernel/init_task.o
+head-$(CONFIG_SUPERH32) += arch/sh/kernel/head_32.o
+head-$(CONFIG_SUPERH64) += arch/sh/kernel/head_64.o
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)