mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-11 21:25:48 +00:00
mpc85xx: use a foreach loop to copy boot images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35689
This commit is contained in:
parent
2d9e89b24c
commit
33ba984628
@ -8,9 +8,12 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/image.mk
|
include $(INCLUDE_DIR)/image.mk
|
||||||
|
|
||||||
DTS_TARGETS = mpc8548cds_32b p1010rdb
|
DTS_TARGETS = mpc8548cds_32b p1010rdb
|
||||||
|
BOOT_IMAGES:=zImage
|
||||||
|
|
||||||
define Image/Prepare
|
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
|
endef
|
||||||
|
|
||||||
define Image/BuildKernel
|
define Image/BuildKernel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user