summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2018-04-02 20:36:24 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-02 20:50:53 +0200
commitbec950dde82c255c5cab2af46be7cd56ca7aee1b (patch)
treea2aea1a1b23a5164d39a9adbb21181cfaeee9fa2
parent7ce411c452d8afc41a05f76d241ed6443bc91e2d (diff)
downloadbuildroot-bec950dde82c255c5cab2af46be7cd56ca7aee1b.tar.gz
buildroot-bec950dde82c255c5cab2af46be7cd56ca7aee1b.zip
rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIR
The infrastructure only provides HOST_RUST_BIN_DL_DIR, because this package is host only. Ideally the infra should provide RUST_BIN_DL_DIR, but it doesn't currently, and that requires more significant changes. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/rust-bin/rust-bin.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk
index 759d468304..b57849093d 100644
--- a/package/rust-bin/rust-bin.mk
+++ b/package/rust-bin/rust-bin.mk
@@ -22,7 +22,7 @@ HOST_RUST_BIN_LIBSTD_HOST_PREFIX = rust-std-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAM
define HOST_RUST_BIN_LIBSTD_EXTRACT
mkdir -p $(@D)/std
$(foreach f,$(HOST_RUST_BIN_EXTRA_DOWNLOADS), \
- $(call suitable-extractor,$(f)) $(RUST_BIN_DL_DIR)/$(f) | \
+ $(call suitable-extractor,$(f)) $(HOST_RUST_BIN_DL_DIR)/$(f) | \
$(TAR) -C $(@D)/std $(TAR_OPTIONS) -
)
cd $(@D)/rustc/lib/rustlib; \
OpenPOWER on IntegriCloud