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