summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-09-05 17:08:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-07 07:53:51 +0100
commitf606c04ee48f1cd8e908592fd8232ffc739d0cdd (patch)
treeab8ee9b89da6e49ab99e71ce90e8b4805be9e53a
parent77ab29b04b75ac0575c15581db27eecee15eca79 (diff)
downloadpoky-f606c04ee48f1cd8e908592fd8232ffc739d0cdd.tar.gz
rust-target-config: Map rust target to OE target
(From OE-Core rev: caca883b524a767d970d934744b0f2b0ef743e20) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/rust-target-config.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass
index 9aa1fc4da5..926b0630b1 100644
--- a/meta/classes-recipe/rust-target-config.bbclass
+++ b/meta/classes-recipe/rust-target-config.bbclass
@@ -296,6 +296,8 @@ def llvm_cpu(d):
296 trans['i586'] = "i586" 296 trans['i586'] = "i586"
297 trans['mips64'] = "mips64" 297 trans['mips64'] = "mips64"
298 trans['mips64el'] = "mips64" 298 trans['mips64el'] = "mips64"
299 trans['powerpc64le'] = "ppc64le"
300 trans['powerpc64'] = "ppc64"
299 trans['riscv64'] = "generic-rv64" 301 trans['riscv64'] = "generic-rv64"
300 trans['riscv32'] = "generic-rv32" 302 trans['riscv32'] = "generic-rv32"
301 trans['loongarch64'] = "la464" 303 trans['loongarch64'] = "la464"