Skip to contentSkip to conversation

rust-target-config: Map rust target to OE target

PATCH In review Khem Raj 2 participants 2 messages Sep 6, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 rust-target-config: Map rust target to OE target

---
 meta/classes-recipe/rust-target-config.bbclass | 2 ++
 1 file changed, 2 insertions(+)
meta/classes-recipe/rust-target-config.bbclass +2 -0
index 9aa1fc4da51..926b0630b1f 100644
@@ -296,6 +296,8 @@ def llvm_cpu(d):
     trans['i586'] = "i586"
     trans['mips64'] = "mips64"
     trans['mips64el'] = "mips64"
+    trans['powerpc64le'] = "ppc64le"
+    trans['powerpc64'] = "ppc64"
     trans['riscv64'] = "generic-rv64"
     trans['riscv32'] = "generic-rv32"
     trans['loongarch64'] = "la464"
Signature · 1 line
2.42.0
#1 lore raw

The commit message should say 'powerpc 64 bit rust target'.

Alex

Quoted 31 lines · Khem Raj
---
 meta/classes-recipe/rust-target-config.bbclass | 2 ++
 1 file changed, 2 insertions(+)
meta/classes-recipe/rust-target-config.bbclass +2 -1
index 9aa1fc4da51..926b0630b1f 100644
@@ -296,6 +296,8 @@ def llvm_cpu(d):
     trans['i586'] = "i586"
     trans['mips64'] = "mips64"
     trans['mips64el'] = "mips64"
+    trans['powerpc64le'] = "ppc64le"
+    trans['powerpc64'] = "ppc64"
     trans['riscv64'] = "generic-rv64"
     trans['riscv32'] = "generic-rv32"
     trans['loongarch64'] = "la464"
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#187260): https://lists.openembedded.org/g/openembedded-core/message/187260
Mute This Topic: https://lists.openembedded.org/mt/101183376/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-