aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-20 08:27:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-20 08:27:26 +0000
commit19ac2d8dbf36f0385d79c12d7e5edb0c277ffa82 (patch)
treea328bdc14e1a918af14fe626f25f95868ad8bcb4 /target
parent65da6815b32a8a970fb5a9e6cb15a5266c3b9690 (diff)
downloadupstream-19ac2d8dbf36f0385d79c12d7e5edb0c277ffa82.tar.gz
upstream-19ac2d8dbf36f0385d79c12d7e5edb0c277ffa82.tar.bz2
upstream-19ac2d8dbf36f0385d79c12d7e5edb0c277ffa82.zip
mpc85xx: use a foreach loop to copy boot images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35689 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/mpc85xx/image/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile
index b762515ec3..0826cfb27b 100644
--- a/target/linux/mpc85xx/image/Makefile
+++ b/target/linux/mpc85xx/image/Makefile
@@ -8,9 +8,12 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
DTS_TARGETS = mpc8548cds_32b p1010rdb
+BOOT_IMAGES:=zImage
define Image/Prepare
- cp $(LINUX_DIR)/arch/powerpc/boot/zImage $(KDIR)/zImage
+ $(foreach image,$(BOOT_IMAGES),
+ cp $(LINUX_DIR)/arch/powerpc/boot/$(image) $(KDIR)/$(image)
+ )
endef
define Image/BuildKernel