summaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-10-29 12:51:05 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-10-29 12:51:05 +0000
commit51342d7126342e1f1a40cd96a5798a3cfd6136eb (patch)
treeeb02f430e14948ca351ef04ce74446b7cadc8ebd /arch/arm/Makefile
parent9468613b2bb0a386af563953b613efc6c77bd8c1 (diff)
downloadop-kernel-dev-51342d7126342e1f1a40cd96a5798a3cfd6136eb.zip
op-kernel-dev-51342d7126342e1f1a40cd96a5798a3cfd6136eb.tar.gz
[ARM] Add KBUILD_IMAGE target support
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>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 2a0b2c8..6f4f8bf 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -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
OpenPOWER on IntegriCloud