From: Hauke Mehrtens Date: Thu, 22 Dec 2022 12:02:07 +0000 (+0100) Subject: Revert "image-commands.mk: Be consistent in command invocation" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=275c51bf4002eefd85d66fd82d2f2f93da31e8b8;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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