]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PPC32: Select arch/ppc/kernel/head.S on CONFIG_PPC_STD_MMU.
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:27:17 +0000 (18:27 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:27:17 +0000 (18:27 -0800)
From: Tom Rini <trini@kernel.crashing.org>

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

index 80489f0648f27b4f3388aa6c40612f6de0d7e2d0..4d51caaf322a3444ebc27b352aa6fe7ba5ffd70c 100644 (file)
@@ -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