From 59e16a76e59fe2212396c36bc1f35881ab015614 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 23 Apr 2015 22:31:36 +0000 Subject: [PATCH] netlogic: copy initramfs image to $(BIN_DIR) Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45574 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/netlogic/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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