Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
28708352e85086a4a473ca1be4e4838c01167ccc
/
.
/
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