aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-11 15:29:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-11 15:29:39 +0000
commit73e2e9bbfdf73a415a5b08f571e4cd8311b24d10 (patch)
tree33325ba4d9706ffd1ce7b88ee9009316811525f6 /target/linux/mpc85xx/image
parent29c5fa8ec7317159d695a44b48e249bad9756551 (diff)
downloadmaster-187ad058-73e2e9bbfdf73a415a5b08f571e4cd8311b24d10.tar.gz
master-187ad058-73e2e9bbfdf73a415a5b08f571e4cd8311b24d10.tar.bz2
master-187ad058-73e2e9bbfdf73a415a5b08f571e4cd8311b24d10.zip
mpc85xx: fix initramfs images
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43620 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx/image')
-rw-r--r--target/linux/mpc85xx/image/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile
index dcb2620a67..ae8b8374b2 100644
--- a/target/linux/mpc85xx/image/Makefile
+++ b/target/linux/mpc85xx/image/Makefile
@@ -22,21 +22,19 @@ endef
zImage:=$(BIN_DIR)/$(IMG_PREFIX)-zImage
DTS_TARGETS = mpc8548cds_32b p1010rdb-pa tl-wdr4900-v1 p1020rdb
-BOOT_IMAGES:=zImage cuImage.tl-wdr4900-v1
-
-define Image/Prepare
- $(foreach image,$(BOOT_IMAGES),
- cp $(LINUX_DIR)/arch/powerpc/boot/$(image) $(KDIR)/$(image)
- )
-endef
define Image/BuildKernel
- cp $(KDIR)/zImage $(zImage)
+ cp $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage
$(foreach dts,$(DTS_TARGETS),
$(LINUX_DIR)/scripts/dtc/dtc -I dts -O dtb $(DTS_DIR)/$(dts).dts > $(BIN_DIR)/$(IMG_PREFIX)-$(dts).fdt
)
endef
+define Image/BuildKernel
+ cp $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-initramfs-zImage
+ cp $(KDIR)/cuImage.tl-wdr4900-v1-initramfs $(BIN_DIR)/$(IMG_PREFIX)-tl-wdr4900-initramfs.uImage
+endef
+
define Image/Build/TPLINK
-$(STAGING_DIR_HOST)/bin/mktplinkfw \
-H $(4) -W $(5) -F $(6) -N OpenWrt -V $(REVISION) $(7) \