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