summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-15 07:45:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-15 07:45:27 +0000
commita417bf9f433fb7486c05071a35f03c9a4a5ce23b (patch)
treeef2f0a7fbf43ec25e8798174421f507b27531996 /include
parentb20a2b48901195a79d86eaecb386d45fe5d63c39 (diff)
downloadmtk-20170518-a417bf9f433fb7486c05071a35f03c9a4a5ce23b.zip
mtk-20170518-a417bf9f433fb7486c05071a35f03c9a4a5ce23b.tar.gz
mtk-20170518-a417bf9f433fb7486c05071a35f03c9a4a5ce23b.tar.bz2
image.mk: add Build step combined-image
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45979
Diffstat (limited to 'include')
-rw-r--r--include/image.mk7
1 files changed, 7 insertions, 0 deletions
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)