Skip to content

Commit

Permalink
[PATCH] powerpc: Add CONFIG_DEFAULT_UIMAGE to build a uImage by defau…
Browse files Browse the repository at this point in the history
…lt 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>
  • Loading branch information
Kumar Gala authored and Paul Mackerras committed Jan 20, 2006
1 parent 0ce928e commit f4fc4a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ config GENERIC_TBSYNC
default y if PPC32 && SMP
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"
choice
prompt "Processor Type"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/
# Default to zImage, override when needed
defaultimage-y := zImage
defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux
defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage
KBUILD_IMAGE := $(defaultimage-y)
all: $(KBUILD_IMAGE)

Expand Down

0 comments on commit f4fc4a5

Please sign in to comment.