From ce6b48c2cf2811b769b03bb2d010d93537b2c176 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 5 Jun 2024 19:53:17 +0200 Subject: [PATCH] package/pkg-download: export TAR for download backends Later commits will start using this variable. Signed-off-by: Yann E. MORIN [Arnout: quote TAR="..."] Signed-off-by: Arnout Vandecappelle --- package/pkg-download.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/pkg-download.mk b/package/pkg-download.mk index bec213fb71..7028d3917a 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -109,7 +109,9 @@ endif define DOWNLOAD $(Q)mkdir -p $($(2)_DL_DIR) - $(Q)$(EXTRA_ENV) $($(2)_DL_ENV) \ + $(Q)$(EXTRA_ENV) \ + $($(2)_DL_ENV) \ + TAR="$(TAR)" \ BR_NO_CHECK_HASH_FOR="$(if $(BR2_DOWNLOAD_FORCE_CHECK_HASHES),,$(BR_NO_CHECK_HASH_FOR))" \ flock $($(2)_DL_DIR)/.lock $(DL_WRAPPER) \ -c '$($(2)_DL_VERSION)' \