From 63b525dd6b209af5554a2d053efd4b3ce6f60c9c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 30 Jul 2016 14:19:11 +0200 Subject: image: add a helper variable for getting kernel/rootfs from within image Build/* templates Signed-off-by: Felix Fietkau --- target/linux/ar71xx/image/ubnt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar71xx/image/ubnt.mk') diff --git a/target/linux/ar71xx/image/ubnt.mk b/target/linux/ar71xx/image/ubnt.mk index ab245df987..98c9ca0066 100644 --- a/target/linux/ar71xx/image/ubnt.mk +++ b/target/linux/ar71xx/image/ubnt.mk @@ -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 -- cgit v1.2.3