diff options
| author | Randy MacLeod <randy.macleod@windriver.com> | 2021-09-05 21:26:48 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-07 21:54:11 +0100 |
| commit | 77ee567007c24049891daf89e7154dfa2b4a3efd (patch) | |
| tree | 37fa0b6616dc9a4f46d9020ecd48404f7cb17d36 | |
| parent | abeb2e95c6e5b286283dfe7198d5a222f7139458 (diff) | |
| download | poky-77ee567007c24049891daf89e7154dfa2b4a3efd.tar.gz | |
tcmode-default: add rust to the default toolchains
Remove the rust_versions.inc file and put it's content
in tcmode-default.inc is done for other toolchains.
Rename RUST_VERSION to RUSTVERSION to adhere to the
naming format used for other languages.
(From OE-Core rev: e56c4e0dca3ca6187271031d4f30c76a42879639)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/conf/distro/include/rust_versions.inc | 13 | ||||
| -rw-r--r-- | meta/conf/distro/include/tcmode-default.inc | 13 |
2 files changed, 13 insertions, 13 deletions
diff --git a/meta/conf/distro/include/rust_versions.inc b/meta/conf/distro/include/rust_versions.inc deleted file mode 100644 index a11ba22a8f..0000000000 --- a/meta/conf/distro/include/rust_versions.inc +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | # include this in your distribution to easily switch between versions | ||
| 2 | # just by changing RUST_VERSION variable | ||
| 3 | |||
| 4 | RUST_VERSION ?= "1.51.0" | ||
| 5 | |||
| 6 | PREFERRED_VERSION_cargo ?= "${RUST_VERSION}" | ||
| 7 | PREFERRED_VERSION_cargo-native ?= "${RUST_VERSION}" | ||
| 8 | PREFERRED_VERSION_libstd-rs ?= "${RUST_VERSION}" | ||
| 9 | PREFERRED_VERSION_rust ?= "${RUST_VERSION}" | ||
| 10 | PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUST_VERSION}" | ||
| 11 | PREFERRED_VERSION_rust-llvm ?= "${RUST_VERSION}" | ||
| 12 | PREFERRED_VERSION_rust-llvm-native ?= "${RUST_VERSION}" | ||
| 13 | PREFERRED_VERSION_rust-native ?= "${RUST_VERSION}" | ||
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 47f23f5c39..80b03305bb 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
| @@ -27,6 +27,7 @@ GOVERSION ?= "1.16%" | |||
| 27 | # This can not use wildcards like 8.0.% since it is also used in mesa to denote | 27 | # This can not use wildcards like 8.0.% since it is also used in mesa to denote |
| 28 | # llvm version being used, so always bump it with llvm recipe version bump | 28 | # llvm version being used, so always bump it with llvm recipe version bump |
| 29 | LLVMVERSION ?= "12.0.1" | 29 | LLVMVERSION ?= "12.0.1" |
| 30 | RUSTVERSION ?= "1.54.0" | ||
| 30 | 31 | ||
| 31 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" | 32 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" |
| 32 | PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" | 33 | PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" |
| @@ -81,3 +82,15 @@ PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" | |||
| 81 | PREFERRED_VERSION_llvm = "${LLVMVERSION}" | 82 | PREFERRED_VERSION_llvm = "${LLVMVERSION}" |
| 82 | PREFERRED_VERSION_llvm-native = "${LLVMVERSION}" | 83 | PREFERRED_VERSION_llvm-native = "${LLVMVERSION}" |
| 83 | PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}" | 84 | PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}" |
| 85 | |||
| 86 | # Rust toolchain preferred versions: | ||
| 87 | |||
| 88 | PREFERRED_VERSION_cargo ?= "${RUSTVERSION}" | ||
| 89 | PREFERRED_VERSION_cargo-native ?= "${RUSTVERSION}" | ||
| 90 | PREFERRED_VERSION_libstd-rs ?= "${RUSTVERSION}" | ||
| 91 | PREFERRED_VERSION_rust ?= "${RUSTVERSION}" | ||
| 92 | PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUSTVERSION}" | ||
| 93 | PREFERRED_VERSION_rust-llvm ?= "${RUSTVERSION}" | ||
| 94 | PREFERRED_VERSION_rust-llvm-native ?= "${RUSTVERSION}" | ||
| 95 | PREFERRED_VERSION_rust-native ?= "${RUSTVERSION}" | ||
| 96 | |||
