diff options
| author | Andreas Gnau | 2025-12-10 17:21:45 +0000 |
|---|---|---|
| committer | Christian Marangi | 2025-12-10 18:04:44 +0000 |
| commit | f3e4620f592be9413a5c71fbc4b664c50a158faa (patch) | |
| tree | bbfe249fb25d69f11c4b3d1e28892243d1304e23 | |
| parent | 4e4986aaf6e7f77da0f01fce54b067de3538e438 (diff) | |
| download | openwrt-f3e4620f592be9413a5c71fbc4b664c50a158faa.tar.gz | |
build: depend on tools/zstd for download
Downloading packages from git requires zstd to compress their tarballs.
Make sure that zstd from host tools is compiled when running make
download. Otherwise, either the download would fail because zstd is not
present or a random version from the host would be used leading to hash
mismatches.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Link: https://github.com/openwrt/openwrt/pull/21125
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
| -rw-r--r-- | include/toplevel.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk index bffbd4a0be..c55c92077f 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -201,7 +201,7 @@ else DOWNLOAD_DIRS = package/download endif -download: .config FORCE $(if $(wildcard $(STAGING_DIR_HOST)/bin/flock),,tools/flock/compile) +download: .config FORCE $(if $(wildcard $(STAGING_DIR_HOST)/bin/flock),,tools/flock/compile) $(if $(wildcard $(STAGING_DIR_HOST)/bin/zstd),,tools/zstd/compile) @+$(foreach dir,$(DOWNLOAD_DIRS),$(SUBMAKE) $(dir);) clean dirclean: .config |