aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-08-03 19:53:35 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-04 20:12:24 +0200
commitc48d45e3424e8ad7a1f320a66a4bebc7c056e052 (patch)
tree6e6505558f70de34d3079276bb4d7219b6758ba5 /package/pkg-download.mk
parentb5a9470bdfeccb50170d279aedc541a2c665770c (diff)
downloadbuildroot-c48d45e3424e8ad7a1f320a66a4bebc7c056e052.tar.gz
buildroot-c48d45e3424e8ad7a1f320a66a4bebc7c056e052.tar.bz2
support/download: convert bzr to use the wrapper
This drastically simplifies the bzr helper, as it no longer has to deal with atomically saving the downloaded archive. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 118591ce48..0c9397a56a 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -112,7 +112,11 @@ endef
define DOWNLOAD_BZR
test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
- $(EXTRA_ENV) support/download/bzr $($(PKG)_SITE) $($(PKG)_DL_VERSION) $(DL_DIR)/$($(PKG)_SOURCE)
+ $(EXTRA_ENV) support/download/wrapper bzr \
+ $(DL_DIR)/$($(PKG)_SOURCE) \
+ $($(PKG)_SITE) \
+ $($(PKG)_DL_VERSION) \
+ $($(PKG)_BASE_NAME)
endef
define SOURCE_CHECK_BZR