From f8608c3910c317f9df886f920286d5f96dd089d1 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 8 Apr 2016 22:13:50 -0400 Subject: [PATCH] profiles: add hardened/linux/musl/arm64 --- profiles/hardened/linux/musl/arm64/eapi | 1 + .../hardened/linux/musl/arm64/make.defaults | 20 +++++++++++++++++++ profiles/hardened/linux/musl/arm64/parent | 1 + profiles/hardened/linux/musl/arm64/use.force | 6 ++++++ profiles/hardened/linux/musl/arm64/use.mask | 6 ++++++ profiles/profiles.desc | 1 + 6 files changed, 35 insertions(+) create mode 100644 profiles/hardened/linux/musl/arm64/eapi create mode 100644 profiles/hardened/linux/musl/arm64/make.defaults create mode 100644 profiles/hardened/linux/musl/arm64/parent create mode 100644 profiles/hardened/linux/musl/arm64/use.force create mode 100644 profiles/hardened/linux/musl/arm64/use.mask diff --git a/profiles/hardened/linux/musl/arm64/eapi b/profiles/hardened/linux/musl/arm64/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/hardened/linux/musl/arm64/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/hardened/linux/musl/arm64/make.defaults b/profiles/hardened/linux/musl/arm64/make.defaults new file mode 100644 index 000000000000..2e57029c0ffd --- /dev/null +++ b/profiles/hardened/linux/musl/arm64/make.defaults @@ -0,0 +1,20 @@ +# Copyright 1999-2016 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="arm64" +ACCEPT_KEYWORDS="${ARCH}" + +CHOST="aarch64-gentoo-linux-musl" +CFLAGS="-O2" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" + +# Anthony G. Basile (25 Oct 2015) +# Multilib-related setup, bug #515130 +ABI="arm64" +DEFAULT_ABI="arm64" +MULTILIB_ABIS="arm64" +CHOST_arm="${CHOST}" +LIBDIR_arm="lib" diff --git a/profiles/hardened/linux/musl/arm64/parent b/profiles/hardened/linux/musl/arm64/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/hardened/linux/musl/arm64/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/hardened/linux/musl/arm64/use.force b/profiles/hardened/linux/musl/arm64/use.force new file mode 100644 index 000000000000..7b08e3e51eb8 --- /dev/null +++ b/profiles/hardened/linux/musl/arm64/use.force @@ -0,0 +1,6 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Force the flag which corresponds to ARCH. +arm64 diff --git a/profiles/hardened/linux/musl/arm64/use.mask b/profiles/hardened/linux/musl/arm64/use.mask new file mode 100644 index 000000000000..5c7de4d919b4 --- /dev/null +++ b/profiles/hardened/linux/musl/arm64/use.mask @@ -0,0 +1,6 @@ +# Copyright 1999-2016 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Unmask the flag which corresponds to ARCH. +-arm64 diff --git a/profiles/profiles.desc b/profiles/profiles.desc index bb0e5545b674..8c0e9c75e79a 100644 --- a/profiles/profiles.desc +++ b/profiles/profiles.desc @@ -194,6 +194,7 @@ amd64 hardened/linux/musl/amd64/x32 exp arm hardened/linux/arm/armv7a dev arm hardened/linux/arm/armv6j dev arm hardened/linux/musl/arm/armv7a exp +arm64 hardened/linux/musl/arm64 exp ia64 hardened/linux/ia64 dev mips hardened/linux/musl/mips exp mips hardened/linux/musl/mips/mipsel exp -- 2.26.2