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
+1
View File
@@ -0,0 +1 @@
5
@@ -0,0 +1 @@
5
@@ -0,0 +1,2 @@
..
../../features/musl
+2
View File
@@ -0,0 +1,2 @@
..
../../../features/busybox
@@ -0,0 +1 @@
5
@@ -0,0 +1,10 @@
# Copyright 1999-2018 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2
CHOST="armv7a-unknown-linux-musleabihf"
CHOST_arm="${CHOST}"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
@@ -0,0 +1,6 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Andreas K. Hüttel <dilfridge@gentoo.org> (2024-03-20)
# Does not compile with musl-1.2.4
sys-devel/gcc sanitize
@@ -0,0 +1,11 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Sam James <sam@gentoo.org> (2024-06-16)
# Avoid pulling in llvm-runtimes/compiler-rt-sanitizers which fails to build
# See bug #928936.
llvm-runtimes/clang-runtime sanitize
# Andreas K. Hüttel <dilfridge@gentoo.org> (2024-03-20)
# Does not compile with musl-1.2.4
sys-devel/gcc sanitize
@@ -0,0 +1,3 @@
../../../../features/musl
../../../../features/installmask
gentoo:features/wd40
+1
View File
@@ -0,0 +1 @@
5
+1
View File
@@ -0,0 +1 @@
5
+2
View File
@@ -0,0 +1,2 @@
..
../../features/musl
+2
View File
@@ -0,0 +1,2 @@
..
../../../features/gnu
+6
View File
@@ -0,0 +1,6 @@
../../gentoo/base
../../gentoo/default
gentoo:arch/arm/armv7a
gentoo:features/merged-usr
../../features/minimal
../../features/installmask
+1
View File
@@ -0,0 +1 @@
5
@@ -0,0 +1 @@
5
@@ -0,0 +1,2 @@
..
../../features/musl
+2
View File
@@ -0,0 +1,2 @@
..
../../../features/busybox
@@ -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
+1
View File
@@ -0,0 +1 @@
5
+1
View File
@@ -0,0 +1 @@
5
@@ -0,0 +1,2 @@
..
../../features/musl
+2
View File
@@ -0,0 +1,2 @@
..
../../../features/gnu
+6
View File
@@ -0,0 +1,6 @@
../../gentoo/base
../../gentoo/default
gentoo:arch/arm64/little-endian
gentoo:features/merged-usr
../../features/minimal
../../features/installmask