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