]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIR
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Mon, 2 Apr 2018 18:36:24 +0000 (20:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 2 Apr 2018 18:50:53 +0000 (20:50 +0200)
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>
package/rust-bin/rust-bin.mk

index 759d468304a40aa86e0e7d5d38f94cf86e15beef..b57849093d13e3eb4acba1757eae3823d4a11da9 100644 (file)
@@ -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; \