From: Maxime Hadjinlian Date: Mon, 2 Apr 2018 13:09:27 +0000 (+0200) Subject: support/download: make sure the download folder is created X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08252b545783951a36590db38e51afd49f647f3d;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- 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) \