image-commands.mk: Be consistent in command invocation
authorOlliver Schinagl <[email protected]>
Wed, 14 Dec 2022 10:39:17 +0000 (11:39 +0100)
committerChristian Marangi <[email protected]>
Sun, 18 Dec 2022 12:18:09 +0000 (13:18 +0100)
Most/all other tools use the staging dir prefix, gzip should as well.

Signed-off-by: Olliver Schinagl <[email protected]>
Acked-by: Christian Marangi <[email protected]>
include/image-commands.mk

index 41e1c9694852e60c6c2ce4d20619b9c727a492b3..074e40e4e834a317abde9cf033df01b478605c14 100644 (file)
@@ -307,7 +307,7 @@ define Build/fit
 endef
 
 define Build/gzip
-       gzip -f -9n -c $@ $(1) > [email protected]
+       $(STAGING_DIR_HOST)/bin/gzip -f -9n -c $@ $(1) > [email protected]
        @mv [email protected] $@
 endef