summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-12-18 13:34:00 +0100
committerFabian Groffen <grobian@gentoo.org>2020-12-18 13:48:13 +0100
commitf39886cb8d6c29b9ed4b502414132a98f60de154 (patch)
treef0375ee86f0affab5175c1c39b65cd821af88227 /profiles/prefix/darwin
parentgnome-base/gnome-desktop-3.36.8: stabilize (diff)
downloadgentoo-f39886cb8d6c29b9ed4b502414132a98f60de154.tar.gz
gentoo-f39886cb8d6c29b9ed4b502414132a98f60de154.tar.bz2
gentoo-f39886cb8d6c29b9ed4b502414132a98f60de154.zip
profiles: add arm64-macos profile for Big Sur
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'profiles/prefix/darwin')
-rw-r--r--profiles/prefix/darwin/macos/11.0/arm64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/11.0/arm64/make.defaults5
-rw-r--r--profiles/prefix/darwin/macos/11.0/arm64/parent2
-rw-r--r--profiles/prefix/darwin/macos/arch/arm64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/arch/arm64/make.defaults11
-rw-r--r--profiles/prefix/darwin/macos/arch/arm64/use.force7
-rw-r--r--profiles/prefix/darwin/macos/arch/arm64/use.mask7
7 files changed, 34 insertions, 0 deletions
diff --git a/profiles/prefix/darwin/macos/11.0/arm64/eapi b/profiles/prefix/darwin/macos/11.0/arm64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/11.0/arm64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/11.0/arm64/make.defaults b/profiles/prefix/darwin/macos/11.0/arm64/make.defaults
new file mode 100644
index 000000000000..6de9f160caa6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/11.0/arm64/make.defaults
@@ -0,0 +1,5 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+CHOST="arm64-apple-darwin20"
+CHOST_arm64="${CHOST}"
diff --git a/profiles/prefix/darwin/macos/11.0/arm64/parent b/profiles/prefix/darwin/macos/11.0/arm64/parent
new file mode 100644
index 000000000000..269f6f48bb15
--- /dev/null
+++ b/profiles/prefix/darwin/macos/11.0/arm64/parent
@@ -0,0 +1,2 @@
+..
+../../arch/x64
diff --git a/profiles/prefix/darwin/macos/arch/arm64/eapi b/profiles/prefix/darwin/macos/arch/arm64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/arm64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/arch/arm64/make.defaults b/profiles/prefix/darwin/macos/arch/arm64/make.defaults
new file mode 100644
index 000000000000..3ceab05d32e1
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/arm64/make.defaults
@@ -0,0 +1,11 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+ARCH="arm64-macos"
+ACCEPT_KEYWORDS="~x64-macos" # this is a hack whilst we don't have full system
+
+# multilib build stuff, single ABI (no multilib)
+ABI="arm64"
+DEFAULT_ABI="arm64"
+MULTILIB_ABIS="arm64"
+LIBDIR_arm64="lib"
diff --git a/profiles/prefix/darwin/macos/arch/arm64/use.force b/profiles/prefix/darwin/macos/arch/arm64/use.force
new file mode 100644
index 000000000000..b4557bfe8498
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/arm64/use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Force the flag corresponding to the default ABI
+x64-macos
+arm64-macos
+abi_arm64
diff --git a/profiles/prefix/darwin/macos/arch/arm64/use.mask b/profiles/prefix/darwin/macos/arch/arm64/use.mask
new file mode 100644
index 000000000000..c0d406b47c49
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/arm64/use.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Unmask the flag corresponding to the default ABI
+-x64-macos
+-arm64-macos
+-abi_arm64