aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorGravatar Maxime Hadjinlian <maxime.hadjinlian@gmail.com>2018-04-02 16:58:01 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-04-02 17:48:56 +0200
commit5d2a018ddf950b53d1d50d09d3af92849d8f5994 (patch)
treee0283626ef45c1e14196132cc3f82efdea24e3c0 /package/pkg-download.mk
parent573f8c750fbd18f2f2de23bfdc8e360ed30a8687 (diff)
downloadbuildroot-5d2a018ddf950b53d1d50d09d3af92849d8f5994.tar.gz
buildroot-5d2a018ddf950b53d1d50d09d3af92849d8f5994.tar.bz2
download: add missing '-d' option
The infrastructure needs to give the 'dl_dir' to the dl-wrapper which in its turn needs to give it to the helper. It will only be used by the 'git' helper as of now. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 4fdb283acc..b7f1d43920 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -96,6 +96,7 @@ define DOWNLOAD
BR_NO_CHECK_HASH_FOR=$(notdir $(call qstrip,$(1)))) \
$(EXTRA_ENV) $(FLOCK) $(DL_WRAPPER) \
-c '$($(PKG)_DL_VERSION)' \
+ -d '$($(PKG)_DL_DIR)' \
-f '$(notdir $(1))' \
-H '$(PKGDIR)/$($(PKG)_RAWNAME).hash' \
-n '$($(PKG)_BASENAME_RAW)' \