[Buildroot] [git commit] package/rust: build and install cargo
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2020-07-27 11:30:59
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=914b99cf030a55b2dfeada832a65ee616bfbae6e branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Cargo source code is not provided anymore as a separate tarball but is now built along with the Rust compiler. So update rust host variant to build Cargo. For now, all this will be overwritten again by the host-cargo package, but this package will be removed in later commits. Signed-off-by: Eric Le Bihan <redacted> Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com> Tested-by: Sam Voss <redacted> [Arnout: merge all install commands in HOST_RUST_INSTALL_CMDS] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted> Tested-by: David Pierret <redacted> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- package/rust/rust.mk | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/package/rust/rust.mk b/package/rust/rust.mk
index 25153966f2..6bee04b3b9 100644
--- a/package/rust/rust.mk
+++ b/package/rust/rust.mk@@ -54,11 +54,14 @@ define HOST_RUST_CONFIGURE_CMDS echo 'python = "$(HOST_DIR)/bin/python$(HOST_RUST_PYTHON_VERSION)"'; \ echo 'submodules = false'; \ echo 'vendor = true'; \ + echo 'extended = true'; \ + echo 'tools = ["cargo"]'; \ echo 'compiler-docs = false'; \ echo 'docs = false'; \ echo 'verbose = $(HOST_RUST_VERBOSITY)'; \ echo '[install]'; \ echo 'prefix = "$(HOST_DIR)"'; \ + echo 'sysconfdir = "$(HOST_DIR)/etc"'; \ echo '[rust]'; \ echo 'channel = "stable"'; \ echo '[target.$(RUSTC_TARGET_NAME)]'; \