From: Gabor Juhos Date: Wed, 20 Feb 2013 08:27:26 +0000 (+0000) Subject: mpc85xx: use a foreach loop to copy boot images X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=48820df93eefb319e8d1e61709b7687b6c56473f mpc85xx: use a foreach loop to copy boot images Signed-off-by: Gabor Juhos SVN-Revision: 35689 --- 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