diff options
-rw-r--r-- | arch/sh/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 897f1c5..4da3bc6 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) |