aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorGravatar Maxime Hadjinlian <maxime.hadjinlian@gmail.com>2018-04-02 15:09:26 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-04-02 16:04:03 +0200
commitd506f873e41c88ee9d6d502078afc36f23d86b32 (patch)
treebd2c6b7ec899a5964bbd9b1ecd0faf85182ce5bd /package/pkg-download.mk
parent01c1889f9f641f6f8adc0345e17b70e80026554d (diff)
downloadbuildroot-d506f873e41c88ee9d6d502078afc36f23d86b32.tar.gz
buildroot-d506f873e41c88ee9d6d502078afc36f23d86b32.tar.bz2
pkg-{download, generic, luarocks}: use existing $($(PKG)_DL_DIR)
Let the infrastructure use the already existing variable $(PKG)_DL_DIR Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 2d5f26bfc5..3f525ee5e4 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -96,7 +96,7 @@ define DOWNLOAD
-H '$(PKGDIR)/$($(PKG)_RAWNAME).hash' \
-n '$($(PKG)_BASENAME_RAW)' \
-N '$($(PKG)_RAWNAME)' \
- -o '$(DL_DIR)/$(notdir $(1))' \
+ -o '$($(PKG)_DL_DIR)/$(notdir $(1))' \
$(if $($(PKG)_GIT_SUBMODULES),-r) \
$(DOWNLOAD_URIS) \
$(QUIET) \