aboutsummaryrefslogtreecommitdiffstats
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
commit59e16a76e59fe2212396c36bc1f35881ab015614 (patch)
tree7296a964cf5e5bd9d5cab23e377c454a0ec3fd42 /target/linux/netlogic
parentc67411718f45a80b0dc9e64d9eba3f1772841a4e (diff)
downloadupstream-59e16a76e59fe2212396c36bc1f35881ab015614.tar.gz
upstream-59e16a76e59fe2212396c36bc1f35881ab015614.tar.bz2
upstream-59e16a76e59fe2212396c36bc1f35881ab015614.zip
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
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 6dde9b0e59..9541f6a905 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