Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
stefanberger
/
openbmc
/
cb1f72128d35f4aa88c6f959475713cf1c1a998d
/
.
/
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