From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 12 Jan 2006 16:55:58 -0700 From: Tom Rini To: linuxppc64-dev@ozlabs.org, linuxppc-dev@ozlabs.org Message-ID: <20060112235557.GK27215@smtp.west.cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [PATCH powerpc.git] Better use defaultimage- List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , [ 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). Signed-off-by: Tom Rini diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 5f80e58..cb6e3ca 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -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) -- Tom Rini http://gate.crashing.org/~trini/