summaryrefslogtreecommitdiff
path: root/target/linux/netlogic
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2015-04-23 22:31:36 +0000
committerFlorian Fainelli <florian@openwrt.org>2015-04-23 22:31:36 +0000
commit00fb1bc0982f6b0b2d0db2d3776e8262c6169eb0 (patch)
tree6c7f856c828257b8bda6734c4782e36636925601 /target/linux/netlogic
parente175b199f8b5947ee498d049b2f4dff694e08e72 (diff)
downloadmtk-20170518-00fb1bc0982f6b0b2d0db2d3776e8262c6169eb0.zip
mtk-20170518-00fb1bc0982f6b0b2d0db2d3776e8262c6169eb0.tar.gz
mtk-20170518-00fb1bc0982f6b0b2d0db2d3776e8262c6169eb0.tar.bz2
netlogic: copy initramfs image to $(BIN_DIR)
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 45574
Diffstat (limited to 'target/linux/netlogic')
-rw-r--r--target/linux/netlogic/image/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/netlogic/image/Makefile b/target/linux/netlogic/image/Makefile
index 6dde9b0..9541f6a 100644
--- a/target/linux/netlogic/image/Makefile
+++ b/target/linux/netlogic/image/Makefile
@@ -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