[openwrt/openwrt] ramips: ignore errors from trx utility

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 30 06:18:01 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/73edd3a41e3fb0bbb0c255554fd5c0b99d701e24

commit 73edd3a41e3fb0bbb0c255554fd5c0b99d701e24
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Wed Oct 30 14:07:22 2024 +0100

    ramips: ignore errors from trx utility
    
    Ignore errors from trx utility to handle case with image too big.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 target/linux/ramips/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index fdc15aa1ef..5697176943 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -140,7 +140,7 @@ define Build/sign-dlink-ru
 endef
 
 define Build/trx
-	$(STAGING_DIR_HOST)/bin/trx $(1) \
+	-$(STAGING_DIR_HOST)/bin/trx $(1) \
 		-o $@ \
 		-m $$(($(call exp_units,$(IMAGE_SIZE)))) \
 		-f $(IMAGE_KERNEL) \




More information about the lede-commits mailing list