aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-01-14 12:09:33 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-01-14 12:09:33 +0000
commit2729cdcf9e087c63bc4c51bf9fef429c71b91fd5 (patch)
tree970d2e364a1b085f5b92381db4ce00024299eac8
parent697f52699573a8aea0bd5db6f892ee10282f3960 (diff)
downloadupstream-2729cdcf9e087c63bc4c51bf9fef429c71b91fd5.tar.gz
upstream-2729cdcf9e087c63bc4c51bf9fef429c71b91fd5.tar.bz2
upstream-2729cdcf9e087c63bc4c51bf9fef429c71b91fd5.zip
malta: copy initramfs images
Malta ramdisk images are no longer copied to output due to a recent change. This change reimplements copying of ramdisk images for Malta builds. Signed-off-by: Eric Schultz <eschultz@prplfoundation.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43970 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/malta/image/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/malta/image/Makefile b/target/linux/malta/image/Makefile
index db2637ad8f..c8f15fd973 100644
--- a/target/linux/malta/image/Makefile
+++ b/target/linux/malta/image/Makefile
@@ -37,6 +37,11 @@ define Image/Build/squashfs
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
endef
+define Image/Build/Initramfs
+ cp $(KDIR)/vmlinux-initramfs.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs.elf
+ cp $(KDIR)/vmlinux-initramfs $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs.bin
+endef
+
define Image/Build
$(call Image/Build/$(1))
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync