aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-30 13:47:36 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-30 14:10:33 +0200
commit84718d8736b3e8282e7a4db6cb3aee73663a3b40 (patch)
tree197c0a45baa7d08e89709c4af44c489e01e66312 /include/image.mk
parent77b16bacb1e0828ae6fb5ec39a64b7759db2b1e8 (diff)
downloadupstream-84718d8736b3e8282e7a4db6cb3aee73663a3b40.tar.gz
upstream-84718d8736b3e8282e7a4db6cb3aee73663a3b40.tar.bz2
upstream-84718d8736b3e8282e7a4db6cb3aee73663a3b40.zip
image: add support for overriding kernel/rootfs images in sysupgrade-tar template
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index b5e45ec155..8c3c983c06 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -29,6 +29,7 @@ override NO_TRACE_MAKE:=$(_SINGLE)$(NO_TRACE_MAKE)
target_params = $(subst +,$(space),$*)
param_get = $(patsubst $(1)=%,%,$(filter $(1)=%,$(2)))
+param_get_default = $(firstword $(call param_get,$(1),$(2)) $(3))
param_mangle = $(subst $(space),_,$(strip $(1)))
param_unmangle = $(subst _,$(space),$(1))