diff options
| author | Tony Butler | 2022-12-02 20:05:08 +0000 |
|---|---|---|
| committer | Christian Marangi | 2022-12-06 22:53:45 +0000 |
| commit | f595bebc7fc67255dc05ec4c1b74b0349c1d2aa3 (patch) | |
| tree | 8a41108156257e03d3e69be41d19676091d7e648 | |
| parent | 42f0ab028e2eae0d4e7acf9db7fd68b256f23503 (diff) | |
| download | openwrt-f595bebc7fc67255dc05ec4c1b74b0349c1d2aa3.tar.gz | |
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@gmail.com>
| -rw-r--r-- | include/prereq-build.mk | 3 |
1 files changed, 3 insertions, 0 deletions
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)) |