mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 19:09:41 +01:00
In the meta-rust repo at commit: 448047c Upgrade to 1.54.0 (#359) Make the required directories: mkdir ../oe-core/meta/recipes-devtools/rust mkdir ../oe-core/meta/recipes-devtools/cargo mkdir ../oe-core/meta/recipes-example and then: cp recipes-devtools/rust/* ../oe-core/meta/recipes-devtools/rust cp recipes-devtools/cargo/* ../oe-core/meta/recipes-devtools/cargo cp lib/crate.py ../oe-core/meta/lib cp recipes-example/* ../oe-core/meta/recipes-example cp conf/distro/include/rust_* ../oe-core/meta/conf/distro/include/ cp classes/* ../oe-core/meta/classes/ cp recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb ../oe-core/meta/recipes-core/packagegroups (From OE-Core rev: 3ed57578cca93ff1ba4e0bf3f25566e10659a2f9) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 lines
549 B
PHP
14 lines
549 B
PHP
# 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}"
|