]> code.ossystems Code Review - openembedded-core.git/commit
rust: Introduce RUST_BUILD_ARCH
authorAndrew Jeffery <andrew@aj.id.au>
Mon, 28 Feb 2022 14:39:47 +0000 (01:09 +1030)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2022 18:44:12 +0000 (18:44 +0000)
commitc13afbade8d480807b9de70c56dcd650496f06b2
tree9f2255d2b66fcf0373dcdc6a0cc64c3e3873b665
parent9ab61e3cfef0157393cb870d606c2f362e190889
rust: Introduce RUST_BUILD_ARCH

RUST_BUILD_ARCH contains the arch_to_rust_arch()-translated value of
BUILD_ARCH. This is necessary to acquire the correct snapshot artifacts
under Linux where `uname -m` reports "ppc64le" rather than
"powerpc64le".

Change-Id: I6aec23aced8e1c6f0bfc46fe52531b0c16bcf687
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rust-common.bbclass
meta/recipes-devtools/rust/rust-snapshot.inc
meta/recipes-devtools/rust/rust.inc