]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust-target-config.bbclass: Update for new riscv TUNE_FEATURES
authorMark Hatle <mark.hatle@amd.com>
Tue, 17 Jun 2025 23:39:44 +0000 (18:39 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jun 2025 21:04:50 +0000 (22:04 +0100)
commit88b59db87d2c65e5be0f3fee1ebf4ee64ef05f18
tree1a7bb1daa131266ee25d0a356c7c577f3dd0caf0
parentbcaf298a146dfd10e4c8f44223ea083bc4baf45c
rust-target-config.bbclass: Update for new riscv TUNE_FEATURES

Add the new TUNE_FEATURES to the 'features:' list, based on matching output
with:

   rustc --target=riscv32i-unknown-none-elf -Ctarget-feature=help

Use the TUNE_RISCV_ABI instead of guessing for the ABI.

Pass the arch "as-is", since it should now be riscv32 or riscv64.

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/rust-target-config.bbclass
meta/lib/oe/rust.py