aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
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/image.mk
parentb20a2b48901195a79d86eaecb386d45fe5d63c39 (diff)
downloadupstream-a417bf9f433fb7486c05071a35f03c9a4a5ce23b.tar.gz
upstream-a417bf9f433fb7486c05071a35f03c9a4a5ce23b.tar.bz2
upstream-a417bf9f433fb7486c05071a35f03c9a4a5ce23b.zip
image.mk: add Build step combined-image
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45979
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 020418d54d..287c679cfd 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)