diff options
Diffstat (limited to 'meta/classes-recipe/rust-target-config.bbclass')
-rw-r--r-- | meta/classes-recipe/rust-target-config.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 6e6b500f5d..0c7e3c0090 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass | |||
@@ -403,6 +403,10 @@ def rust_gen_target(d, thing, wd, arch): | |||
403 | tspec['llvm-abiname'] = d.getVar('TUNE_RISCV_ABI') | 403 | tspec['llvm-abiname'] = d.getVar('TUNE_RISCV_ABI') |
404 | if "loongarch64" in tspec['llvm-target']: | 404 | if "loongarch64" in tspec['llvm-target']: |
405 | tspec['llvm-abiname'] = "lp64d" | 405 | tspec['llvm-abiname'] = "lp64d" |
406 | if "powerpc64le" in tspec['llvm-target']: | ||
407 | tspec['llvm-abiname'] = "elfv2" | ||
408 | if "powerpc64" in tspec['llvm-target']: | ||
409 | tspec['llvm-abiname'] = "elfv1" | ||
406 | tspec['vendor'] = "unknown" | 410 | tspec['vendor'] = "unknown" |
407 | tspec['target-family'] = "unix" | 411 | tspec['target-family'] = "unix" |
408 | tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix) | 412 | tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix) |