malta: copy initramfs images
authorImre Kaloz <kaloz@openwrt.org>
Wed, 14 Jan 2015 12:09:33 +0000 (12:09 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Wed, 14 Jan 2015 12:09:33 +0000 (12:09 +0000)
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>
SVN-Revision: 43970

target/linux/malta/image/Makefile

index db2637ad8fcb8c0014bb70b9b119b53a4fa1a2de..c8f15fd9732f21b5db00c019574ff081191782a7 100644 (file)
@@ -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