mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user