Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR
@ 2018-04-02 18:36 Maxime Hadjinlian
  2018-04-02 18:36 ` [Buildroot] [PATCH 2/5] cryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIR Maxime Hadjinlian
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Maxime Hadjinlian @ 2018-04-02 18:36 UTC (permalink / raw)
  To: buildroot

The infrastructure only provides HOST_CARGO_DL_DIR, because this
package is host only. Ideally the infra should provide CARGO_DL_DIR,
but it doesn't currently, and that requires more significant changes.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/cargo/cargo.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/cargo/cargo.mk b/package/cargo/cargo.mk
index 36b2718e90..b3174f5b20 100644
--- a/package/cargo/cargo.mk
+++ b/package/cargo/cargo.mk
@@ -37,7 +37,7 @@ HOST_CARGO_HOME = $(HOST_DIR)/share/cargo
 define HOST_CARGO_EXTRACT_DEPS
 	@mkdir -p $(@D)/vendor
 	$(call suitable-extractor,$(CARGO_DEPS_SOURCE)) \
-		$(CARGO_DL_DIR)/$(CARGO_DEPS_SOURCE) | \
+		$(HOST_CARGO_DL_DIR)/$(CARGO_DEPS_SOURCE) | \
 		$(TAR) --strip-components=1 -C $(@D)/vendor $(TAR_OPTIONS) -
 endef
 
@@ -46,7 +46,7 @@ HOST_CARGO_POST_EXTRACT_HOOKS += HOST_CARGO_EXTRACT_DEPS
 define HOST_CARGO_EXTRACT_INSTALLER
 	@mkdir -p $(@D)/src/rust-installer
 	$(call suitable-extractor,$(CARGO_INSTALLER_SOURCE)) \
-		$(CARGO_DL_DIR)/$(CARGO_INSTALLER_SOURCE) | \
+		$(HOST_CARGO_DL_DIR)/$(CARGO_INSTALLER_SOURCE) | \
 		$(TAR) --strip-components=1 -C $(@D)/src/rust-installer $(TAR_OPTIONS) -
 endef
 
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-02 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-02 18:36 [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Maxime Hadjinlian
2018-04-02 18:36 ` [Buildroot] [PATCH 2/5] cryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIR Maxime Hadjinlian
2018-04-02 18:36 ` [Buildroot] [PATCH 3/5] rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIR Maxime Hadjinlian
2018-04-02 18:36 ` [Buildroot] [PATCH 4/5] ti-cgt-pru: use HOST_TI_CGT_PRU_DL_DIR instead of TI_CGT_PRU_DL_DIR Maxime Hadjinlian
2018-04-02 18:36 ` [Buildroot] [PATCH 5/5] zynq-boot-bin: use HOST_ZYNQ_BOOT_BIN_DL_DIR instead of ZYNQ_BOOT_BIN_DL_DIR Maxime Hadjinlian
2018-04-02 19:43 ` [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox