diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-30 13:47:36 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-30 14:10:33 +0200 |
commit | 84718d8736b3e8282e7a4db6cb3aee73663a3b40 (patch) | |
tree | 197c0a45baa7d08e89709c4af44c489e01e66312 /include/image-commands.mk | |
parent | 77b16bacb1e0828ae6fb5ec39a64b7759db2b1e8 (diff) | |
download | upstream-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-commands.mk')
-rw-r--r-- | include/image-commands.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk index 8cf54bbaa1..f95a68dab1 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -151,7 +151,7 @@ endef define Build/sysupgrade-tar sh $(TOPDIR)/scripts/sysupgrade-tar.sh \ --board $(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)) \ - --kernel $(word 1,$^) \ - --rootfs $(word 2,$^) \ + --kernel $(call param_get_default,kernel,$(1),$(word 1,$^)) \ + --rootfs $(call param_get_default,rootfs,$(1),$(word 2,$^)) \ $@ endef |