[OpenWrt-Devel] [PATCH 1/3] mvebu: also copy nor initramfs kernels to bin

Jonas Gorski jogo at openwrt.org
Sun Aug 23 09:52:22 EDT 2015


r45421 added copying initramfs kernels for NAND profiles, but missed
both NOR profiles.

Signed-off-by: Jonas Gorski <jogo at openwrt.org>
---
 target/linux/mvebu/image/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 7f270dd..255f1a4 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -63,6 +63,7 @@ define UBINORProfile
 
   define Image/Build/Profile/$(1)/Initramfs
 	$(call Image/Build/DTB,$(2),-initramfs)
+	cp $(KDIR)/uImage-initramfs-$(2) $(BIN_DIR)/$(IMG_PREFIX)-$(2)-initramfs
   endef
 
   define Image/Build/Profile/$(1)/squashfs
@@ -85,6 +86,7 @@ define NORProfile
 
   define Image/Build/Profile/$(1)/Initramfs
 	$(call Image/Build/DTB,$(2),-initramfs)
+	cp $(KDIR)/uImage-initramfs-$(2) $(BIN_DIR)/$(IMG_PREFIX)-$(2)-initramfs
   endef
 
   define Image/Build/Profile/$(1)/squashfs
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list