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:36 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-04 20:12:24 +0200
commit84469226c1d4e6b7bf7052ef9039b26991041311 (patch)
tree8f4a771c63b3d36620c9e6979e7a86355f9aa1ed /package/pkg-download.mk
parentc48d45e3424e8ad7a1f320a66a4bebc7c056e052 (diff)
downloadbuildroot-84469226c1d4e6b7bf7052ef9039b26991041311.tar.gz
buildroot-84469226c1d4e6b7bf7052ef9039b26991041311.tar.bz2
support/download: convert localfiles to use the wrapper
This drastically simplifies the localfiles 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> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> (Tested by setting BUSYBOX_SITE = file:///tmp and running 'make busybox-source') Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 0c9397a56a..f10aad8a34 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -209,8 +209,9 @@ endef
define DOWNLOAD_LOCALFILES
test -e $(DL_DIR)/$(2) || \
- $(EXTRA_ENV) support/download/cp $(call stripurischeme,$(call qstrip,$(1))) \
- $(DL_DIR)/$(2) && \
+ $(EXTRA_ENV) support/download/wrapper cp \
+ $(DL_DIR)/$(2) \
+ $(call stripurischeme,$(call qstrip,$(1))) && \
$(call VERIFY_HASH,$(PKGDIR)/$($(PKG)_NAME).hash,$(DL_DIR)/$(2))
endef