From 275c51bf4002eefd85d66fd82d2f2f93da31e8b8 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 22 Dec 2022 13:02:07 +0100 Subject: [PATCH] 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 --- 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 -- 2.30.2