sh: Fix up the head-y targets for _32 and _64.
authorPaul Mundt <lethal@linux-sh.org>
Sun, 11 Nov 2007 08:41:56 +0000 (17:41 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:45 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile

index 897f1c590facfd2095a570c2eb452a0d73107732..4da3bc696b3d846a4bb6d4203fc32cf551734530 100644 (file)
@@ -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)