diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2025-06-17 18:39:44 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-20 09:52:28 +0100 |
| commit | d56b141a4eea831eca796ee4f7d9ea5ef92af7dd (patch) | |
| tree | 827b5f05549fdd8b48228d9aa80093bac5c792cf /meta/lib/oe | |
| parent | 3c5c4cfa6bf4aa88bcd69e2688fdceea6a655165 (diff) | |
| download | poky-d56b141a4eea831eca796ee4f7d9ea5ef92af7dd.tar.gz | |
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.
(From OE-Core rev: 88b59db87d2c65e5be0f3fee1ebf4ee64ef05f18)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
| -rw-r--r-- | meta/lib/oe/rust.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/lib/oe/rust.py b/meta/lib/oe/rust.py index 185553eeeb..1dc9cf150d 100644 --- a/meta/lib/oe/rust.py +++ b/meta/lib/oe/rust.py | |||
| @@ -8,6 +8,4 @@ | |||
| 8 | def arch_to_rust_arch(arch): | 8 | def arch_to_rust_arch(arch): |
| 9 | if arch == "ppc64le": | 9 | if arch == "ppc64le": |
| 10 | return "powerpc64le" | 10 | return "powerpc64le" |
| 11 | if arch in ('riscv32', 'riscv64'): | ||
| 12 | return arch + 'gc' | ||
| 13 | return arch | 11 | return arch |
