diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-30 14:19:11 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-31 12:25:25 +0200 |
commit | 63b525dd6b209af5554a2d053efd4b3ce6f60c9c (patch) | |
tree | b4bf688fa7ce3b9cbbad996dd0d60730eacbede9 /target/linux/ramips/image | |
parent | 9201e88f518dbe5246aa2f77342175805ef10cdd (diff) | |
download | upstream-63b525dd6b209af5554a2d053efd4b3ce6f60c9c.tar.gz upstream-63b525dd6b209af5554a2d053efd4b3ce6f60c9c.tar.bz2 upstream-63b525dd6b209af5554a2d053efd4b3ce6f60c9c.zip |
image: add a helper variable for getting kernel/rootfs from within image Build/* templates
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r-- | target/linux/ramips/image/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 0a92765326..c62974c45b 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -49,8 +49,8 @@ define Build/trx $(STAGING_DIR_HOST)/bin/trx \ -o $@ \ -m $(IMAGE_SIZE) \ - -f $(word 1,$^) \ - -a 4 -f $(word 2,$^) + -f $(IMAGE_KERNEL) \ + -a 4 -f $(IMAGE_ROOTFS) endef define Build/relocate-kernel |