diff options
author | Steve Sakoman <steve@sakoman.com> | 2025-01-26 05:56:36 -0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-01-26 14:04:46 -0800 |
commit | e3b771d7b6bba8e66b3d0c042ae88ffb98ca6f48 (patch) | |
tree | 4a2d484c621956ef0d2864363ceb45ab0516b921 | |
parent | df5c19f5d143b161bc5b8d42c24cc1a278ed2417 (diff) | |
download | poky-e3b771d7b6bba8e66b3d0c042ae88ffb98ca6f48.tar.gz |
Revert "rust: Add new varaible RUST_ENABLE_EXTRA_TOOLS"
This reverts commit 136a25567499191b23a4d000a06bf83a473224ca.
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-devtools/rust/rust_1.75.0.bb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.75.0.bb index c33f31d261..76e1fe2d84 100644 --- a/meta/recipes-devtools/rust/rust_1.75.0.bb +++ b/meta/recipes-devtools/rust/rust_1.75.0.bb | |||
@@ -70,10 +70,6 @@ addtask do_test_compile after do_configure do_rust_gen_targets | |||
70 | do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot" | 70 | do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot" |
71 | do_rust_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER" | 71 | do_rust_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER" |
72 | 72 | ||
73 | # there is a need to enable some more rust tools for the project | ||
74 | # We can extend a list of more tools via this variable | ||
75 | RUST_ENABLE_EXTRA_TOOLS ?= "rust-demangler" | ||
76 | |||
77 | python do_configure() { | 73 | python do_configure() { |
78 | import json | 74 | import json |
79 | import configparser | 75 | import configparser |
@@ -145,7 +141,7 @@ python do_configure() { | |||
145 | config.add_section("build") | 141 | config.add_section("build") |
146 | config.set("build", "submodules", e(False)) | 142 | config.set("build", "submodules", e(False)) |
147 | config.set("build", "docs", e(False)) | 143 | config.set("build", "docs", e(False)) |
148 | config.set("build", "tools", e(d.getVar("RUST_ENABLE_EXTRA_TOOLS").split())) | 144 | config.set("build", "tools", ["rust-demangler",]) |
149 | 145 | ||
150 | rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc") | 146 | rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc") |
151 | config.set("build", "rustc", e(rustc)) | 147 | config.set("build", "rustc", e(rustc)) |