[openwrt/openwrt] build: add gzip to prereq-build.mk
LEDE Commits
lede-commits at lists.infradead.org
Tue Dec 6 14:53:53 PST 2022
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f595bebc7fc67255dc05ec4c1b74b0349c1d2aa3
commit f595bebc7fc67255dc05ec4c1b74b0349c1d2aa3
Author: Tony Butler <spudz76 at gmail.com>
AuthorDate: Fri Dec 2 12:05:08 2022 -0800
build: add gzip to prereq-build.mk
gzip has never been checked for, a system without it would be rare, fix
it anyway
Signed-off-by: Tony Butler <spudz76 at gmail.com>
---
include/prereq-build.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index c5c2f1c8bb..9c4ef547ad 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -149,6 +149,9 @@ $(eval $(call SetupHostCommand,stat,Cannot find a file stat utility, \
gstat -c%s $(TOPDIR)/Makefile, \
stat -c%s $(TOPDIR)/Makefile))
+$(eval $(call SetupHostCommand,gzip,Please install 'gzip', \
+ gzip --version </dev/null))
+
$(eval $(call SetupHostCommand,unzip,Please install 'unzip', \
unzip 2>&1 | grep zipfile, \
unzip))
More information about the lede-commits
mailing list