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/bcm53xx/image/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/bcm53xx') diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile index 89639f4344..10474eb3b9 100644 --- a/target/linux/bcm53xx/image/Makefile +++ b/target/linux/bcm53xx/image/Makefile @@ -26,7 +26,7 @@ define Build/trx-serial $(STAGING_DIR_HOST)/bin/trx \ -o $@.new \ -m 33554432 \ - -f $(word 1,$^) -a 1024 \ + -f $(IMAGE_KERNEL) -a 1024 \ -f $@ -a 0x10000 -A $(KDIR)/fs_mark mv $@.new $@ endef @@ -39,7 +39,7 @@ define Build/trx-nand $(STAGING_DIR_HOST)/bin/trx \ -o $@.new \ -m 33554432 \ - -f $(word 1,$^) -a 0x20000 -b 0x400000 \ + -f $(IMAGE_KERNEL) -a 0x20000 -b 0x400000 \ -f $@ \ -A $(KDIR)/ubi_mark -a 0x20000 mv $@.new $@ @@ -57,7 +57,7 @@ define Build/seama-nand entity $@.entity \ -m "dev=/dev/mtdblock/7" \ -m "type=firmware" \ - -f $(word 1,$^) \ + -f $(IMAGE_KERNEL) \ -b 0x400000 \ -f $@ \ -f $(KDIR)/ubi_mark -- cgit v1.2.3