mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
rust-target-config: Fix ABI override for powerpc64le target
Ensure the powerpc64le check is exclusive by using `elif`, preventing the powerpc64 condition from overriding it. This keeps the ABI as elfv2 for PPC64LE and fixes related build failures. (From OE-Core rev: 1d4067329d0b84f94aaf2f63d282bb9c99ba5557) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4e38304d6c
commit
588bba19dc
|
|
@ -405,7 +405,7 @@ def rust_gen_target(d, thing, wd, arch):
|
|||
tspec['llvm-abiname'] = "lp64d"
|
||||
if "powerpc64le" in tspec['llvm-target']:
|
||||
tspec['llvm-abiname'] = "elfv2"
|
||||
if "powerpc64" in tspec['llvm-target']:
|
||||
elif "powerpc64" in tspec['llvm-target']:
|
||||
tspec['llvm-abiname'] = "elfv1"
|
||||
tspec['vendor'] = "unknown"
|
||||
tspec['target-family'] = "unix"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user