image: add a helper variable for getting kernel/rootfs from within image Build/* templates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-07-30 14:19:11 +02:00
parent 9201e88f51
commit 63b525dd6b
13 changed files with 54 additions and 51 deletions

View file

@ -7,7 +7,7 @@
define Build/mkubntimage
$(STAGING_DIR_HOST)/bin/mkfwimage \
-B $(UBNT_BOARD) -v $(UBNT_TYPE).$(UBNT_CHIP).v6.0.0-OpenWrt-$(REVISION) \
-k $(word 1,$^) \
-k $(IMAGE_KERNEL) \
-r $@ \
-o $@
endef