]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
rust-target-config.bbclass: add RUST_TARGET_ABI to sstate signature exclusions
authorAlexander Kanavin <alex@linutronix.de>
Wed, 14 Jan 2026 13:40:58 +0000 (14:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Jan 2026 17:34:55 +0000 (17:34 +0000)
This was overlooked in
https://lists.openembedded.org/g/openembedded-core/message/218953

and caused non-reusable sstate for rust-native when
the target is one of risc-v machines.

[YOCTO #16132]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/rust-target-config.bbclass

index 2a06c4ae8b121c8f0c7c7cddb4bd51d779921724..8e737c1451bd57f18185cd1b78cc0c1e3d5d19d8 100644 (file)
@@ -433,7 +433,7 @@ def rust_gen_target(d, thing, wd, arch):
         json.dump(tspec, f, indent=4)
 
 # These are accounted for in tmpdir path names so don't need to be in the task sig
-rust_gen_target[vardepsexclude] += "ABIEXTENSION llvm_cpu"
+rust_gen_target[vardepsexclude] += "ABIEXTENSION llvm_cpu TUNE_RISCV_ABI"
 
 do_rust_gen_targets[vardeps] += "DATA_LAYOUT TARGET_ENDIAN TARGET_POINTER_WIDTH TARGET_C_INT_WIDTH MAX_ATOMIC_WIDTH FEATURES"