commit:     432c140439ba4f63e7c4126919c27db08d05e737
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  1 19:08:25 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 19:10:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432c1404

profiles/prefix/linux: add ppc64le profile

Bug: https://bugs.gentoo.org/755551
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 profiles/prefix/linux/ppc64le/eapi          |  1 +
 profiles/prefix/linux/ppc64le/make.defaults | 12 ++++++++++++
 profiles/prefix/linux/ppc64le/packages      |  7 +++++++
 profiles/prefix/linux/ppc64le/parent        |  2 ++
 4 files changed, 22 insertions(+)

diff --git a/profiles/prefix/linux/ppc64le/eapi 
b/profiles/prefix/linux/ppc64le/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux/ppc64le/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/prefix/linux/ppc64le/make.defaults 
b/profiles/prefix/linux/ppc64le/make.defaults
new file mode 100644
index 00000000000..477b3c26276
--- /dev/null
+++ b/profiles/prefix/linux/ppc64le/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+ARCH="ppc64"
+CHOST="powerpc64le-pc-linux-gnu"
+# The base profile sets ACCEPT_KEYWORDS=ppc64 and we don't have that in prefix.
+# Eventually, ~* should be removed once someone is motivated for this arch
+ACCEPT_KEYWORDS="-ppc64 ~ppc64-linux ~*"
+
+# We don't have lib64 in prefix so, remove it here.
+SYMLINK_LIB=""
+LIBDIR_ppc64="lib"

diff --git a/profiles/prefix/linux/ppc64le/packages 
b/profiles/prefix/linux/ppc64le/packages
new file mode 100644
index 00000000000..13fe69af5f8
--- /dev/null
+++ b/profiles/prefix/linux/ppc64le/packages
@@ -0,0 +1,7 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Those are part of the base powerpc profile's @system set, but having them as
+# part of @system makes no sense for Gentoo Prefix.
+-*sys-fs/hfsutils
+-*sys-fs/hfsplusutils

diff --git a/profiles/prefix/linux/ppc64le/parent 
b/profiles/prefix/linux/ppc64le/parent
new file mode 100644
index 00000000000..ba569be12a9
--- /dev/null
+++ b/profiles/prefix/linux/ppc64le/parent
@@ -0,0 +1,2 @@
+../../../default/linux/powerpc/ppc64/17.0/64bit-userland
+..

Reply via email to