From 84718d8736b3e8282e7a4db6cb3aee73663a3b40 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 30 Jul 2016 13:47:36 +0200 Subject: image: add support for overriding kernel/rootfs images in sysupgrade-tar template Signed-off-by: Felix Fietkau --- include/image-commands.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/image-commands.mk') 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 -- cgit v1.2.3