[PATCH] powerpc/boot: Better use of defaultimage-
authorTom Rini <trini@kernel.crashing.org>
Thu, 12 Jan 2006 23:55:58 +0000 (16:55 -0700)
committerPaul Mackerras <paulus@samba.org>
Fri, 13 Jan 2006 10:14:28 +0000 (21:14 +1100)
The following reworks how defaultimage- is used.  We default to zImage
here and then override it on platforms that need something more (uImage
in the future) or less (vmlinux on iSeries).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Makefile

index 07b8e15..44dd82b 100644 (file)
@@ -139,9 +139,9 @@ drivers-$(CONFIG_CPM2)              += arch/ppc/8260_io/
 
 drivers-$(CONFIG_OPROFILE)     += arch/powerpc/oprofile/
 
-defaultimage-$(CONFIG_PPC32)   := zImage
+# Default to zImage, override when needed
+defaultimage-y                 := zImage
 defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux
-defaultimage-$(CONFIG_PPC_PSERIES) := zImage
 KBUILD_IMAGE := $(defaultimage-y)
 all: $(KBUILD_IMAGE)