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-a3cf2f4a3e73master
parent
697f526995
commit
2729cdcf9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue