Message ID | 20180402130934.19274-4-maxime.hadjinlian@gmail.com |
---|---|
State | Accepted |
Commit | 08252b545783951a36590db38e51afd49f647f3d |
Headers | show |
Series | [v5,01/11] packages: use new $($PKG)_DL_DIR) variable | expand |
>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes: > 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. > Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> > --- > package/pkg-download.mk | 1 + > 1 file changed, 1 insertion(+) > diff --git a/package/pkg-download.mk b/package/pkg-download.mk > index d309f7612c..e88d3f9fda 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)/ Committed after dropping the trailing /, thanks.
diff --git a/package/pkg-download.mk b/package/pkg-download.mk index d309f7612c..e88d3f9fda 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 $(1))) \ $(EXTRA_ENV) $(DL_WRAPPER) \ -c $($(PKG)_DL_VERSION) \
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. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> --- package/pkg-download.mk | 1 + 1 file changed, 1 insertion(+)