[PATCH] powerpc: Add CONFIG_DEFAULT_UIMAGE to build a uImage by default for a board

Embedded boards that u-boot require a kernel image in the uImage format.
This allows a given board to specify it wants a uImage built by default.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Kumar Gala 2006-01-16 10:53:22 -06:00 committed by Paul Mackerras
parent 0ce928e1b2
commit f4fc4a5b74
2 changed files with 7 additions and 0 deletions

View file

@ -83,6 +83,12 @@ config GENERIC_TBSYNC
default y if PPC32 && SMP default y if PPC32 && SMP
default n default n
config DEFAULT_UIMAGE
bool
help
Used to allow a board to specify it wants a uImage built by default
default n
menu "Processor support" menu "Processor support"
choice choice
prompt "Processor Type" prompt "Processor Type"

View file

@ -142,6 +142,7 @@ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/
# Default to zImage, override when needed # Default to zImage, override when needed
defaultimage-y := zImage defaultimage-y := zImage
defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux
defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage
KBUILD_IMAGE := $(defaultimage-y) KBUILD_IMAGE := $(defaultimage-y)
all: $(KBUILD_IMAGE) all: $(KBUILD_IMAGE)