[OpenWrt-Devel] [PATCH 1/5] image.mk: add Build step combined-image

Alexander Couzens lynxis at fe80.eu
Sun Jun 7 08:27:14 EDT 2015


Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 include/image.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/image.mk b/include/image.mk
index 020418d..287c679 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -326,6 +326,13 @@ define Build/check-size
 	}
 endef
 
+define Build/combined-image
+	-sh $(TOPDIR)/scripts/combined-image.sh \
+		"$(word 1,$^)" \
+		"$@" \
+		"$@.new"
+	@mv $@.new $@
+endef
 
 define Device/Init
   PROFILES := $(PROFILE)
-- 
2.4.2
_______________________________________________
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