[openwrt/openwrt] Revert "image-commands.mk: Be consistent in command invocation"
LEDE Commits
lede-commits at lists.infradead.org
Thu Dec 22 04:22:53 PST 2022
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/275c51bf4002eefd85d66fd82d2f2f93da31e8b8
commit 275c51bf4002eefd85d66fd82d2f2f93da31e8b8
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Thu Dec 22 13:02:07 2022 +0100
Revert "image-commands.mk: Be consistent in command invocation"
This reverts commit fcff234fd89e8b24aa3ad2f352ddbb5304c38dc1.
$(STAGING_DIR_HOST)/bin/gzip is not available in openwrt-22.03. The
change broke the build because the build process could not find this
file. For example ath79/generic netgear_wndap360 was affected.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
include/image-commands.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/image-commands.mk b/include/image-commands.mk
index b4e1a67342..402e3d71ed 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -298,7 +298,7 @@ define Build/fit
endef
define Build/gzip
- $(STAGING_DIR_HOST)/bin/gzip -f -9n -c $@ $(1) > $@.new
+ gzip -f -9n -c $@ $(1) > $@.new
@mv $@.new $@
endef
More information about the lede-commits
mailing list