profiles: Add profile-enforced global big-endian USE flag
authorJames Le Cuirot <chewi@gentoo.org>
Thu, 29 Jun 2017 21:11:49 +0000 (22:11 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Fri, 7 Jul 2017 21:08:28 +0000 (22:08 +0100)
The flag is forced and masked by default and then unmasked where
necessary. Note that there are some big endian host values listed in
tc-endian() that we do not have profiles for.

12 files changed:
profiles/arch/arm64/big-endian/use.mask [new file with mode: 0644]
profiles/arch/base/use.force [new file with mode: 0644]
profiles/arch/base/use.mask
profiles/arch/hppa/use.mask
profiles/arch/m68k/use.mask
profiles/arch/mips/mipsel/use.mask [new file with mode: 0644]
profiles/arch/mips/use.mask
profiles/arch/powerpc/ppc64/64le/use.mask
profiles/arch/powerpc/use.mask
profiles/arch/s390/use.mask
profiles/arch/sparc/use.mask
profiles/use.desc

diff --git a/profiles/arch/arm64/big-endian/use.mask b/profiles/arch/arm64/big-endian/use.mask
new file mode 100644 (file)
index 0000000..0a4af07
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
diff --git a/profiles/arch/base/use.force b/profiles/arch/base/use.force
new file mode 100644 (file)
index 0000000..7f213b9
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Forced and masked by default. Unmask where necessary.
+big-endian
index 1a4a39cefc134867b84c3647ea7e28f20a02ec6e..2ea1fb3d89fa2c40f12ce0c069280d672bd6803e 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Forced and masked by default. Unmask where necessary.
+big-endian
+
 # Sven Wegener <swegener@gentoo.org> (31 May 2017)
 # libvirt is only supported on specific architectures
 libvirt
index 7361e2c52af212b2900406d691cd022cef4ad9c1..bd158162a449a53c5ef02deb54a6ae998d645eeb 100644 (file)
@@ -3,6 +3,10 @@
 # NOTE: When masking a USE flag due to missing keywords, please file a keyword
 # request bug for the hppa arch.
 
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Andreas Sturmlechner <asturm@gentoo.org> (25 Feb 2017)
 # kwallet integration split from kde to distinct flag
 kwallet
index aac0e46e97c249558d85ae3d9974face20cbd817..646567111d562e3f0704605cd66e48930bd0ebe7 100644 (file)
@@ -1,6 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
 # Unmask the flag which corresponds to ARCH.
 -m68k
 
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 hardened
 
 # Paul de Vrieze <pauldv@gentoo.org>
diff --git a/profiles/arch/mips/mipsel/use.mask b/profiles/arch/mips/mipsel/use.mask
new file mode 100644 (file)
index 0000000..2a8cc7b
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Remask as this profile is little endian.
+big-endian
index 09ac8ca4b2cc7df0f76c78c62e2cff881ab7847d..6caff81617cb8cf415d1328c6d6956a2fffa099c 100644 (file)
@@ -4,6 +4,10 @@
 # Unmask the flag which corresponds to ARCH.
 -mips
 
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Mart Raudsepp <leio@gentoo.org> (27 May 2017)
 # media-libs/libmtp not tested
 mtp
index 2419ed9b6428f1c2b3f8be7e15d94026ccf53229..b8ad07b24a5a17f3011190296bf9a21f871515fb 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Remask as this profile is little endian.
+big-endian
+
 # 2008/02/13 - Chris Gianelloni <wolf31o2@gentoo.org>
 # Mask multilib, since we cannot use it.
 multilib
index 6f993c6628c05a62113525e0cc27f57b5b7a51d0..38b7a4ecf586364ef1dc0a9209bd432d826dd1f2 100644 (file)
@@ -1,6 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
 # PPC Specific use flags
 #
 
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Matt Turner <mattst88@gentoo.org> (24 Mar 2017)
 # virtual/opencl is not keyworded
 opencl
index 91dda10d04085a3df7c490b1d0154e99848a2b53..18637daa144502e55edbfd887f177618c03946bd 100644 (file)
@@ -1,9 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
 # Unmask the flag which corresponds to ARCH.
 -s390
 
 # Unmask ABI flags for this arch.
 -abi_s390_32
 
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Stuff we don't want/not tested
 pbins
 R
index be19f2f7ed5430ebccdd7947ba67f7689498f0ff..0d3e7049cf285855729930005de5de8116544df5 100644 (file)
@@ -6,6 +6,10 @@
 
 # This file contains a list of useflags that cannot be used on sparc.
 
+# James Le Cuirot <chewi@gentoo.org> (29 Jun 2017)
+# Unmask as this profile is big endian.
+-big-endian
+
 # Andreas Sturmlechner <asturm@gentoo.org> (25 Feb 2017)
 # kwallet integration split from kde to distinct flag
 kwallet
index 127c9935fa2a6f2396296389818a608fcc95ff76..9501b38fe33d97e70452a39e9ed038eb42dbc35c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # Keep them sorted
@@ -30,6 +30,7 @@ bash-completion - Enable bash-completion support
 bcmath - Add support for libbcmath
 berkdb - Add support for sys-libs/db (Berkeley DB for MySQL)
 bidi - Enable bidirectional language support
+big-endian - Big-endian toolchain support
 bindist - Flag to enable or disable options for prebuilt (GRP) packages (eg. due to licensing issues)
 blas - Add support for the virtual/blas numerical library
 bluetooth - Enable Bluetooth Support