profiles: add arm and arm64 profiles

Add arm and arm64 minimal profiles similar to amd64.
The arm profile is for armv7 only.
This commit is contained in:
2026-06-28 10:42:32 +03:00
parent fe66ba3077
commit eae60a6dfe
30 changed files with 121 additions and 0 deletions
@@ -0,0 +1,23 @@
# Copyright 1999-2016 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2
ARCH="arm64"
ACCEPT_KEYWORDS="${ARCH}"
CHOST="aarch64-unknown-linux-musl"
CFLAGS="-O2"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
# Anthony G. Basile <blueness@gentoo.org> (2015-10-25)
# Multilib-related setup, bug #515130
ABI="arm64"
DEFAULT_ABI="arm64"
MULTILIB_ABIS="arm64"
CHOST_arm64="${CHOST}"
LIBDIR_arm64="lib"
# Michał Górny <mgorny@gentoo.org> (2017-03-14)
# Unhide the ARM-specific USE_EXPANDs.
USE_EXPAND_HIDDEN="-CPU_FLAGS_ARM"