summaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorRussell King2006-10-29 13:51:05 +0100
committerRussell King2006-10-29 13:51:05 +0100
commit51342d7126342e1f1a40cd96a5798a3cfd6136eb (patch)
treeeb02f430e14948ca351ef04ce74446b7cadc8ebd /arch/arm/Makefile
parent[ARM] Fix suspend oops caused by PXA2xx PCMCIA driver (diff)
downloadkernel-qcow2-linux-51342d7126342e1f1a40cd96a5798a3cfd6136eb.tar.gz
kernel-qcow2-linux-51342d7126342e1f1a40cd96a5798a3cfd6136eb.tar.xz
kernel-qcow2-linux-51342d7126342e1f1a40cd96a5798a3cfd6136eb.zip
[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 2a0b2c8a1fe0..6f4f8bf36071 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