]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Add KBUILD_IMAGE target support
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 29 Oct 2006 12:51:05 +0000 (12:51 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Oct 2006 12:51:05 +0000 (12:51 +0000)
Add support for KBUILD_IMAGE on ARM.  This takes the usual target
specifiers (zImage/Image/etc) in the same way that powerpc does
(iow, without the arch/arm/boot prefix).

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Makefile

index 2a0b2c8a1fe00df55a7dd87092d4ce3661399cfe..6f4f8bf3607168e4b7df0c213a676ac7d68e8521 100644 (file)
@@ -174,11 +174,13 @@ libs-y                            := arch/arm/lib/ $(libs-y)
 
 # Default target when executing plain make
 ifeq ($(CONFIG_XIP_KERNEL),y)
-all: xipImage
+KBUILD_IMAGE := xipImage
 else
-all: zImage
+KBUILD_IMAGE := zImage
 endif
 
+all:   $(KBUILD_IMAGE)
+
 boot := arch/arm/boot
 
 #      Update machine arch and proc symlinks if something which affects