aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorGravatar Maxime Hadjinlian <maxime.hadjinlian@gmail.com>2018-04-02 15:09:27 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-04-02 16:09:56 +0200
commit08252b545783951a36590db38e51afd49f647f3d (patch)
treeabcc1aa91117f86fd5b02dce2f9ba34c3183eb52 /package/pkg-download.mk
parentd506f873e41c88ee9d6d502078afc36f23d86b32 (diff)
downloadbuildroot-08252b545783951a36590db38e51afd49f647f3d.tar.gz
buildroot-08252b545783951a36590db38e51afd49f647f3d.tar.bz2
support/download: make sure the download folder is created
At the moment, it means that we make sure that BR2_DL_DIR is created, in the future, it will make sure that BR2_DL_DIR/PKG_NAME/ is created. [Peter: drop trailing / on mkdir] 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 3f525ee5e4..3f35661a16 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -88,6 +88,7 @@ endif
endif
define DOWNLOAD
+ $(Q)mkdir -p $($(PKG)_DL_DIR)
$(Q)$(if $(filter bzr cvs hg svn,$($(PKG)_SITE_METHOD)),
BR_NO_CHECK_HASH_FOR=$(notdir $(call qstrip,$(1)))) \
$(EXTRA_ENV) $(DL_WRAPPER) \