Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
91da5203e3d406de0f8ddfb86dd99ef79959de3d
/
.
/
poky
/
meta
/
lib
/
oe
/
rust.py
blob: ec70b348054d2297031aef484a26a1fa4325a3d4 [
file
] [
log
] [
blame
]
Andrew Jeffery
ecdf5f1
2022-03-01 01:09:46 +1030
[
diff
] [
blame
]
1
# Handle mismatches between `uname -m`-style output and Rust's arch names
2
def
arch_to_rust_arch
(
arch
):
3
if
arch
==
"ppc64le"
:
4
return
"powerpc64le"
5
return
arch