Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
14 lines
316 B
Python
14 lines
316 B
Python
#
|
|
# 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"
|
|
if arch in ('riscv32', 'riscv64'):
|
|
return arch + 'gc'
|
|
return arch
|