diff options
Diffstat (limited to 'profiles/hardened/linux/musl/arm')
-rw-r--r-- | profiles/hardened/linux/musl/arm/armv7a/eapi | 1 | ||||
-rw-r--r-- | profiles/hardened/linux/musl/arm/armv7a/make.defaults | 8 | ||||
-rw-r--r-- | profiles/hardened/linux/musl/arm/armv7a/parent | 1 | ||||
-rw-r--r-- | profiles/hardened/linux/musl/arm/eapi | 1 | ||||
-rw-r--r-- | profiles/hardened/linux/musl/arm/make.defaults | 23 | ||||
-rw-r--r-- | profiles/hardened/linux/musl/arm/package.use.force | 7 | ||||
-rw-r--r-- | profiles/hardened/linux/musl/arm/parent | 1 | ||||
-rw-r--r-- | profiles/hardened/linux/musl/arm/use.force | 5 | ||||
-rw-r--r-- | profiles/hardened/linux/musl/arm/use.mask | 5 |
9 files changed, 52 insertions, 0 deletions
diff --git a/profiles/hardened/linux/musl/arm/armv7a/eapi b/profiles/hardened/linux/musl/arm/armv7a/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/arm/armv7a/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/arm/armv7a/make.defaults b/profiles/hardened/linux/musl/arm/armv7a/make.defaults new file mode 100644 index 000000000000..c680f6aa2e5a --- /dev/null +++ b/profiles/hardened/linux/musl/arm/armv7a/make.defaults @@ -0,0 +1,8 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 + +CHOST="armv7a-hardfloat-linux-musleabi" +CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" diff --git a/profiles/hardened/linux/musl/arm/armv7a/parent b/profiles/hardened/linux/musl/arm/armv7a/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/armv7a/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/arm/eapi b/profiles/hardened/linux/musl/arm/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/arm/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/arm/make.defaults b/profiles/hardened/linux/musl/arm/make.defaults new file mode 100644 index 000000000000..e0e4051efde6 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/make.defaults @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 + +ARCH="arm" +ACCEPT_KEYWORDS="${ARCH}" + +CHOST="arm-unknown-linux-musleabi" +CFLAGS="-O2" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" + +# Anthony G. Basile <blueness@gentoo.org> (25 Oct 2015) +# Multilib-related setup, bug #515130 +ABI="arm" +DEFAULT_ABI="arm" +MULTILIB_ABIS="arm" +CHOST_arm="${CHOST}" +LIBDIR_arm="lib" + +# Michał Górny <mgorny@gentoo.org> (14 Mar 2017) +# Unhide the ARM-specific USE_EXPANDs. +USE_EXPAND_HIDDEN="-CPU_FLAGS_ARM" diff --git a/profiles/hardened/linux/musl/arm/package.use.force b/profiles/hardened/linux/musl/arm/package.use.force new file mode 100644 index 000000000000..b92b1029f52a --- /dev/null +++ b/profiles/hardened/linux/musl/arm/package.use.force @@ -0,0 +1,7 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Michał Górny <mgorny@gentoo.org> (24 Sep 2016) +# Force the host target to avoid dependency hell +sys-devel/clang llvm_targets_ARM +sys-devel/llvm llvm_targets_ARM diff --git a/profiles/hardened/linux/musl/arm/parent b/profiles/hardened/linux/musl/arm/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/arm/use.force b/profiles/hardened/linux/musl/arm/use.force new file mode 100644 index 000000000000..11e95dae7631 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/use.force @@ -0,0 +1,5 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Force the flag which corresponds to ARCH. +arm diff --git a/profiles/hardened/linux/musl/arm/use.mask b/profiles/hardened/linux/musl/arm/use.mask new file mode 100644 index 000000000000..8dffd62b8e39 --- /dev/null +++ b/profiles/hardened/linux/musl/arm/use.mask @@ -0,0 +1,5 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 + +# Unmask the flag which corresponds to ARCH. +-arm |