summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv6j/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv6j/hardened/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv6j/hardened/parent2
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv6j/make.defaults10
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv6j/parent1
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv7a/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv7a/hardened/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv7a/hardened/parent2
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv7a/make.defaults10
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/armv7a/parent1
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/eapi1
-rw-r--r--profiles/default/linux/arm/17.0/uclibc/parent3
-rw-r--r--profiles/features/uclibc/eapi1
-rw-r--r--profiles/features/uclibc/make.defaults12
-rw-r--r--profiles/features/uclibc/package.mask19
-rw-r--r--profiles/features/uclibc/package.use11
-rw-r--r--profiles/features/uclibc/package.use.mask20
-rw-r--r--profiles/features/uclibc/packages7
-rw-r--r--profiles/features/uclibc/packages.build9
-rw-r--r--profiles/features/uclibc/use.force6
-rw-r--r--profiles/features/uclibc/use.mask15
-rw-r--r--profiles/profiles.desc4
22 files changed, 138 insertions, 0 deletions
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv6j/eapi b/profiles/default/linux/arm/17.0/uclibc/armv6j/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv6j/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv6j/hardened/eapi b/profiles/default/linux/arm/17.0/uclibc/armv6j/hardened/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv6j/hardened/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv6j/hardened/parent b/profiles/default/linux/arm/17.0/uclibc/armv6j/hardened/parent
new file mode 100644
index 000000000000..3e3d7782bae7
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv6j/hardened/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../../features/hardened
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv6j/make.defaults b/profiles/default/linux/arm/17.0/uclibc/armv6j/make.defaults
new file mode 100644
index 000000000000..d5f3c4a8df89
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv6j/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 1999-2018 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+CHOST="armv6j-unknown-linux-uclibceabihf"
+CHOST_arm="${CHOST}"
+
+CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv6j/parent b/profiles/default/linux/arm/17.0/uclibc/armv6j/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv6j/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv7a/eapi b/profiles/default/linux/arm/17.0/uclibc/armv7a/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv7a/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv7a/hardened/eapi b/profiles/default/linux/arm/17.0/uclibc/armv7a/hardened/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv7a/hardened/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv7a/hardened/parent b/profiles/default/linux/arm/17.0/uclibc/armv7a/hardened/parent
new file mode 100644
index 000000000000..3e3d7782bae7
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv7a/hardened/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../../features/hardened
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv7a/make.defaults b/profiles/default/linux/arm/17.0/uclibc/armv7a/make.defaults
new file mode 100644
index 000000000000..ff9bd9e3abda
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv7a/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 1999-2018 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+CHOST="armv7a-unknown-linux-uclibceabihf"
+CHOST_arm="${CHOST}"
+
+CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/default/linux/arm/17.0/uclibc/armv7a/parent b/profiles/default/linux/arm/17.0/uclibc/armv7a/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/armv7a/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/default/linux/arm/17.0/uclibc/eapi b/profiles/default/linux/arm/17.0/uclibc/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/arm/17.0/uclibc/parent b/profiles/default/linux/arm/17.0/uclibc/parent
new file mode 100644
index 000000000000..a22f101e8a92
--- /dev/null
+++ b/profiles/default/linux/arm/17.0/uclibc/parent
@@ -0,0 +1,3 @@
+..
+../../../../../arch/arm
+../../../../../features/uclibc/
diff --git a/profiles/features/uclibc/eapi b/profiles/features/uclibc/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/features/uclibc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/features/uclibc/make.defaults b/profiles/features/uclibc/make.defaults
new file mode 100644
index 000000000000..e744805b1e76
--- /dev/null
+++ b/profiles/features/uclibc/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2018 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+PORTAGE_LIBC="uClibc"
+ELIBC=uclibc
+
+FEATURES="sandbox sfperms strict"
+
+USE="nptl unicode -berkdb"
+BOOTSTRAP_USE="${BOOTSTRAP_USE} nptl -berkdb"
+
+SYMLINK_LIB="no"
diff --git a/profiles/features/uclibc/package.mask b/profiles/features/uclibc/package.mask
new file mode 100644
index 000000000000..b2b832a58bd7
--- /dev/null
+++ b/profiles/features/uclibc/package.mask
@@ -0,0 +1,19 @@
+# Copyright 1999-2018 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+sys-libs/musl
+sys-libs/glibc
+sys-libs/pam
+
+# We use eudev which is tested on both uclibc and musl
+sys-apps/systemd
+sys-fs/udev
+
+# Working on it, bug #470884
+dev-libs/elfutils
+>virtual/libelf-2
+
+## MJE 18/09/2018 - Do these still apply?:
+## These binary pkgs have a hard dep on glibc; make repoman shut up
+#app-arch/rar
+#www-plugins/adobe-flash
diff --git a/profiles/features/uclibc/package.use b/profiles/features/uclibc/package.use
new file mode 100644
index 000000000000..53754c2c64e5
--- /dev/null
+++ b/profiles/features/uclibc/package.use
@@ -0,0 +1,11 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# 17 Aug 2014; Anthony G. Basile <blueness@gentoo.org>
+# Avoid pulling in glib
+dev-util/pkgconfig internal-glib
+
+# Anthony G. Basile <blueness@gentoo.org> (14 Jul 2018)
+# We need this to break a circular dependency with
+# 'sys-libs/libcap pam' in stage3 catalyst builds
+sys-libs/pam -filecaps
diff --git a/profiles/features/uclibc/package.use.mask b/profiles/features/uclibc/package.use.mask
new file mode 100644
index 000000000000..d50e095b0281
--- /dev/null
+++ b/profiles/features/uclibc/package.use.mask
@@ -0,0 +1,20 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Michał Górny <mgorny@gentoo.org> (12 Jan 2018)
+# Those require USE=java that is masked in this profile.
+app-emulation/virtualbox vboxwebsrv
+app-office/libreoffice libreoffice_extensions_wiki-publisher
+
+# Thomas Deutschmann <whissi@gentoo.org> (21 Jan 2017)
+# Mask due Gnome3 not going to be stabilized on this arch
+# due to uclibc
+dev-util/geany-plugins gtkspell
+
+# Joshua Kinard <kumba@gentoo.org> (18 Jan 2016)
+# Fails linking to gettext/libintl for symbol 'libintl_gettext'.
+# Is fixable by using 'append-ldflags' from flag-o-matic to force
+# -lintl, but that's a QA violation. Real solution is to use
+# 'append-libs', but xfsdump's build system doesn't honor $LIBS.
+# So this is the best way for now. See 570548.
+sys-fs/xfsdump nls
diff --git a/profiles/features/uclibc/packages b/profiles/features/uclibc/packages
new file mode 100644
index 000000000000..0ff81f33bfb2
--- /dev/null
+++ b/profiles/features/uclibc/packages
@@ -0,0 +1,7 @@
+# Copyright 1999-2018 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+*app-misc/pax-utils
+*dev-libs/libiconv
+*dev-libs/libintl
+-*sys-apps/man-pages
diff --git a/profiles/features/uclibc/packages.build b/profiles/features/uclibc/packages.build
new file mode 100644
index 000000000000..bc9b89070183
--- /dev/null
+++ b/profiles/features/uclibc/packages.build
@@ -0,0 +1,9 @@
+# Copyright 1999-2018 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+# This file lists extra packages needed to build for
+# a stage 1 based on this profile.
+
+dev-util/pkgconfig
+dev-libs/libiconv
+dev-libs/libintl
diff --git a/profiles/features/uclibc/use.force b/profiles/features/uclibc/use.force
new file mode 100644
index 000000000000..6225883ae668
--- /dev/null
+++ b/profiles/features/uclibc/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2018 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+# Select the correct ELIBC
+elibc_uclibc
+uclibc
diff --git a/profiles/features/uclibc/use.mask b/profiles/features/uclibc/use.mask
new file mode 100644
index 000000000000..540851c0f4f0
--- /dev/null
+++ b/profiles/features/uclibc/use.mask
@@ -0,0 +1,15 @@
+# Copyright 1999-2018 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+# Thomas Deutschmann <whissi@gentoo.org> (28 Jan 2017)
+# No JAVA in uclibc
+java
+
+nls
+pam
+
+-uclibc
+
+-elibc_uclibc
+elibc_glibc
+elibc_musl
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index 2a3980d80fcc..1c2ea775d5bd 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -353,6 +353,10 @@ amd64 default/linux/uclibc/amd64 exp
amd64 hardened/linux/uclibc/amd64 exp
arm default/linux/uclibc/arm/armv7a exp
arm hardened/linux/uclibc/arm/armv7a exp
+arm default/linux/arm/17.0/uclibc/armv6j exp
+arm default/linux/arm/17.0/uclibc/armv6j/hardened exp
+arm default/linux/arm/17.0/uclibc/armv7a exp
+arm default/linux/arm/17.0/uclibc/armv7a/hardened exp
mips default/linux/uclibc/mips exp
mips hardened/linux/uclibc/mips exp
mips default/linux/uclibc/mips/mipsel exp