Explorar o código

sh: Fix up the head-y targets for _32 and _64.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt %!s(int64=17) %!d(string=hai) anos
pai
achega
4c91d6b105
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      arch/sh/Makefile

+ 3 - 1
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)