From 00fb1bc0982f6b0b2d0db2d3776e8262c6169eb0 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 SVN-Revision: 45574 --- 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 6dde9b0e599..9541f6a905c 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 -- 2.30.2