mirror of
https://git.yoctoproject.org/poky
synced 2026-04-10 14:02:21 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
abeb2e95c6
commit
77ee567007
@@ -1,13 +0,0 @@
|
||||
# include this in your distribution to easily switch between versions
|
||||
# just by changing RUST_VERSION variable
|
||||
|
||||
RUST_VERSION ?= "1.51.0"
|
||||
|
||||
PREFERRED_VERSION_cargo ?= "${RUST_VERSION}"
|
||||
PREFERRED_VERSION_cargo-native ?= "${RUST_VERSION}"
|
||||
PREFERRED_VERSION_libstd-rs ?= "${RUST_VERSION}"
|
||||
PREFERRED_VERSION_rust ?= "${RUST_VERSION}"
|
||||
PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUST_VERSION}"
|
||||
PREFERRED_VERSION_rust-llvm ?= "${RUST_VERSION}"
|
||||
PREFERRED_VERSION_rust-llvm-native ?= "${RUST_VERSION}"
|
||||
PREFERRED_VERSION_rust-native ?= "${RUST_VERSION}"
|
||||
@@ -27,6 +27,7 @@ GOVERSION ?= "1.16%"
|
||||
# This can not use wildcards like 8.0.% since it is also used in mesa to denote
|
||||
# llvm version being used, so always bump it with llvm recipe version bump
|
||||
LLVMVERSION ?= "12.0.1"
|
||||
RUSTVERSION ?= "1.54.0"
|
||||
|
||||
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
||||
PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
|
||||
@@ -81,3 +82,15 @@ PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}"
|
||||
PREFERRED_VERSION_llvm = "${LLVMVERSION}"
|
||||
PREFERRED_VERSION_llvm-native = "${LLVMVERSION}"
|
||||
PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}"
|
||||
|
||||
# Rust toolchain preferred versions:
|
||||
|
||||
PREFERRED_VERSION_cargo ?= "${RUSTVERSION}"
|
||||
PREFERRED_VERSION_cargo-native ?= "${RUSTVERSION}"
|
||||
PREFERRED_VERSION_libstd-rs ?= "${RUSTVERSION}"
|
||||
PREFERRED_VERSION_rust ?= "${RUSTVERSION}"
|
||||
PREFERRED_VERSION_rust-cross-${TARGET_ARCH} ?= "${RUSTVERSION}"
|
||||
PREFERRED_VERSION_rust-llvm ?= "${RUSTVERSION}"
|
||||
PREFERRED_VERSION_rust-llvm-native ?= "${RUSTVERSION}"
|
||||
PREFERRED_VERSION_rust-native ?= "${RUSTVERSION}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user