netlogic: copy initramfs image to $(BIN_DIR)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45574 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2015-04-23 22:31:36 +00:00
parent c67411718f
commit 59e16a76e5
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ 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
endef
define Image/Build
$(call Image/Build/$(1))
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync