Skip to contentSkip to conversation

Better use defaultimage-

PATCH New Tom Rini 1 participant 1 message Jan 12, 2006 PowerPC

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Better use defaultimage-

[ Please disregard the patch to make zImage & uImage the default, Paul has NAK'd this on IRC ]

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).

arch/powerpc/Makefile +2 -2
index 5f80e58..cb6e3ca 100644
@@ -140,8 +140,8 @@ drivers-$(CONFIG_CPM2)		+= arch/ppc/8260
 
 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)
Signature · 2 lines
Tom Rini
http://gate.crashing.org/~trini/