blob: 1dc9cf150ddad17f2f93be6b6fc75f70049b81b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#
# 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
|