diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-01-14 12:09:33 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-01-14 12:09:33 +0000 |
commit | 4f06ba07276536fa7e95673b702e20608d051549 (patch) | |
tree | fb97f3e099b2bd8f616c1983ca95c6cbba8bd7b6 | |
parent | a72bf9f3d262f4e7f8254c2f774a280c80af3181 (diff) | |
download | upstream-4f06ba07276536fa7e95673b702e20608d051549.tar.gz upstream-4f06ba07276536fa7e95673b702e20608d051549.tar.bz2 upstream-4f06ba07276536fa7e95673b702e20608d051549.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>
SVN-Revision: 43970
-rw-r--r-- | target/linux/malta/image/Makefile | 5 |
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 |