aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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