brcm47xx: image: make TRX steps work with rootfs passed as $@

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki 2016-10-28 16:43:19 +02:00
parent 8bd2167236
commit 027b2c5b83

View file

@ -51,10 +51,11 @@ endef
define Build/trx-with-loader
$(STAGING_DIR_HOST)/bin/trx \
-m 33554432 \
-o $@ \
-o $@.new \
-f $(KDIR)/loader.gz \
-f $(IMAGE_KERNEL) \
$(call trxalign/$(FILESYSTEM),$(FILESYSTEM))
mv $@.new $@
endef
define Build/trx-v2-with-loader
@ -71,9 +72,10 @@ endef
define Build/trx-without-loader
$(STAGING_DIR_HOST)/bin/trx \
-m 33554432 \
-o $@ \
-o $@.new \
-f $(IMAGE_KERNEL) \
$(call trxalign/$(FILESYSTEM),$(FILESYSTEM))
mv $@.new $@
endef
define Build/asus-trx