From: Tom Rini Date: Thu, 12 Jan 2006 23:55:58 +0000 (-0700) Subject: [PATCH] powerpc/boot: Better use of defaultimage- X-Git-Tag: MMI-PSA29.97-13-9~52899^2~19 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=135f0b17a7a146fa65ccd75704eecf77ee19d587;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] powerpc/boot: Better use of defaultimage- 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 Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 07b8e15b48fa..44dd82b791d1 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -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)