Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
d6419b711f3ef52e9b1587b639252363a89bc1eb
/
.
/
poky
/
meta
/
lib
/
oe
/
rust.py
blob: 1dc9cf150ddad17f2f93be6b6fc75f70049b81b3 [
file
] [
log
] [
blame
]
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
# Handle mismatches between `uname -m`-style output and Rust's arch names
def
arch_to_rust_arch
(
arch
):
if
arch
==
"ppc64le"
:
return
"powerpc64le"
return
arch