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 @@
5
@@ -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"
@@ -0,0 +1,6 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Georgy Yakovlev <gyakovlev@gentoo.org> (2021-04-27)
# rust-bin is awailable on arm64 musl
-dev-lang/rust-bin
@@ -0,0 +1,8 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Arthur Zamarin <arthurzam@gentoo.org> (2022-01-21)
# Bootstrapping is possible using our build snapshot, so don't force
# system bootstrap
dev-java/openjdk:17 -system-bootstrap
dev-java/openjdk:21 -system-bootstrap
@@ -0,0 +1,2 @@
../../../../features/musl
../../../../features/installmask
@@ -0,0 +1,5 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Mask multilib, since we cannot use it.
multilib