mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
Revert "build_toolchains: Stop building arm64 toolchains"
This reverts commit ecc6d6bd3e38de4a7324ec5b2927bd6ed0de092d.
This commit is contained in:
parent
87dad556e6
commit
f9a9b2e803
@ -15,6 +15,7 @@ TOOLCHAIN_PKGS=(
|
||||
# compiler to build a full native toolchain. Packages are not uploaded.
|
||||
declare -A CROSS_PROFILES
|
||||
CROSS_PROFILES["x86_64-cros-linux-gnu"]="coreos:coreos/amd64/generic"
|
||||
CROSS_PROFILES["aarch64-cros-linux-gnu"]="coreos:coreos/arm64/generic"
|
||||
|
||||
# Map board names to CHOSTs and portage profiles. This is the
|
||||
# definitive list, there is assorted code new and old that either
|
||||
@ -23,6 +24,9 @@ declare -A BOARD_CHOSTS BOARD_PROFILES
|
||||
BOARD_CHOSTS["amd64-usr"]="x86_64-cros-linux-gnu"
|
||||
BOARD_PROFILES["amd64-usr"]="coreos:coreos/amd64/generic"
|
||||
|
||||
BOARD_CHOSTS["arm64-usr"]="aarch64-cros-linux-gnu"
|
||||
BOARD_PROFILES["arm64-usr"]="coreos:coreos/arm64/generic"
|
||||
|
||||
BOARD_NAMES=( "${!BOARD_CHOSTS[@]}" )
|
||||
|
||||
# Declare the above globals as read-only to avoid accidental conflicts.
|
||||
@ -39,6 +43,7 @@ declare -r \
|
||||
# Usage: get_portage_arch chost
|
||||
get_portage_arch() {
|
||||
case "$1" in
|
||||
aarch64*) echo arm64;;
|
||||
alpha*) echo alpha;;
|
||||
arm*) echo arm;;
|
||||
hppa*) echo hppa;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user