From f2b087ca85526c9267bb0203bf78ce7adf758f01 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 18 Jan 2004 18:27:17 -0800 Subject: [PATCH] [PATCH] PPC32: Select arch/ppc/kernel/head.S on CONFIG_PPC_STD_MMU. From: Tom Rini PPC32: Select arch/ppc/kernel/head.S on CONFIG_PPC_STD_MMU. - Don't pick a head*.S by default, instead select head.S on CONFIG_PPC_STD_MMU. This is more consistent with how we case things in this file. --- arch/ppc/kernel/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/ppc/kernel/Makefile b/arch/ppc/kernel/Makefile index 80489f0648f27..4d51caaf322a3 100644 --- a/arch/ppc/kernel/Makefile +++ b/arch/ppc/kernel/Makefile @@ -9,8 +9,7 @@ ifdef CONFIG_4xx EXTRA_AFLAGS := -Wa,-m405 endif -# Start off with 'head.o', change as needed. -extra-y := head.o +extra-$(CONFIG_PPC_STD_MMU) := head.o extra-$(CONFIG_40x) := head_4xx.o extra-$(CONFIG_44x) := head_44x.o extra-$(CONFIG_8xx) := head_8xx.o -- 2.53.0