summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXU Benda <heroxbd@gmail.com>2013-09-01 06:55:36 +0900
committerXU Benda <heroxbd@gmail.com>2013-09-01 06:55:36 +0900
commitc98d2ea822845643bc10a40e349eaf16e7ed9291 (patch)
treee9a63707dfd50c6d1bbaa3dc62de7efe8590ddf7 /profiles
parenttrack binutils-config, update gcc/binutils. (diff)
downloadandroid-c98d2ea822845643bc10a40e349eaf16e7ed9291.tar.gz
android-c98d2ea822845643bc10a40e349eaf16e7ed9291.tar.bz2
android-c98d2ea822845643bc10a40e349eaf16e7ed9291.zip
rap toolchain update
Diffstat (limited to 'profiles')
-rw-r--r--profiles/default/linux/amd64/13.0/rap/make.defaults3
-rw-r--r--profiles/default/linux/amd64/13.0/rap/parent2
-rw-r--r--profiles/default/linux/arm/13.0/armv7a/rap/make.defaults3
-rw-r--r--profiles/default/linux/arm/13.0/armv7a/rap/parent2
-rw-r--r--profiles/default/linux/x86/13.0/rap/make.defaults3
-rw-r--r--profiles/default/linux/x86/13.0/rap/parent2
-rw-r--r--profiles/features/rap/make.defaults2
-rw-r--r--profiles/features/rap/packages11
-rw-r--r--profiles/features/rap/profile.bashrc9
-rw-r--r--profiles/features/rap/use.force5
-rw-r--r--profiles/features/rap/use.mask8
-rw-r--r--profiles/prefix/features/with-libc/packages3
-rw-r--r--profiles/prefix/linux/amd64/with-libc/.unison.packages.78a8f6ffc32b4d5af3a26b6758688d4f.unison.tmp2
-rw-r--r--profiles/prefix/linux/arm/with-libc/parent2
-rw-r--r--profiles/prefix/linux/x86/with-libc/make.defaults6
-rw-r--r--profiles/prefix/linux/x86/with-libc/parent2
16 files changed, 65 insertions, 0 deletions
diff --git a/profiles/default/linux/amd64/13.0/rap/make.defaults b/profiles/default/linux/amd64/13.0/rap/make.defaults
new file mode 100644
index 0000000..fc2914e
--- /dev/null
+++ b/profiles/default/linux/amd64/13.0/rap/make.defaults
@@ -0,0 +1,3 @@
+# accept unstable keyword before RAP matures
+# accept Prefix keyword to use Prefix overlay for transition
+ACCEPT_KEYWORDS="~amd64 ~amd64-linux"
diff --git a/profiles/default/linux/amd64/13.0/rap/parent b/profiles/default/linux/amd64/13.0/rap/parent
new file mode 100644
index 0000000..7df3b6e
--- /dev/null
+++ b/profiles/default/linux/amd64/13.0/rap/parent
@@ -0,0 +1,2 @@
+../no-multilib
+../../../../../features/rap
diff --git a/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults b/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults
new file mode 100644
index 0000000..61ca581
--- /dev/null
+++ b/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults
@@ -0,0 +1,3 @@
+# accept unstable keyword before RAP matures
+# accept Prefix keyword to use Prefix overlay for transition
+ACCEPT_KEYWORDS="~arm ~arm-linux"
diff --git a/profiles/default/linux/arm/13.0/armv7a/rap/parent b/profiles/default/linux/arm/13.0/armv7a/rap/parent
new file mode 100644
index 0000000..8a04a12
--- /dev/null
+++ b/profiles/default/linux/arm/13.0/armv7a/rap/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../features/rap
diff --git a/profiles/default/linux/x86/13.0/rap/make.defaults b/profiles/default/linux/x86/13.0/rap/make.defaults
new file mode 100644
index 0000000..5682e93
--- /dev/null
+++ b/profiles/default/linux/x86/13.0/rap/make.defaults
@@ -0,0 +1,3 @@
+# accept unstable keyword before RAP matures
+# accept Prefix keyword to use Prefix overlay for transition
+ACCEPT_KEYWORDS="~x86 ~x86-linux"
diff --git a/profiles/default/linux/x86/13.0/rap/parent b/profiles/default/linux/x86/13.0/rap/parent
new file mode 100644
index 0000000..3659747
--- /dev/null
+++ b/profiles/default/linux/x86/13.0/rap/parent
@@ -0,0 +1,2 @@
+..
+../../../../../features/rap
diff --git a/profiles/features/rap/make.defaults b/profiles/features/rap/make.defaults
new file mode 100644
index 0000000..ed808e9
--- /dev/null
+++ b/profiles/features/rap/make.defaults
@@ -0,0 +1,2 @@
+# sandbox not prefixified yet.
+FEATURES="-sandbox"
diff --git a/profiles/features/rap/packages b/profiles/features/rap/packages
new file mode 100644
index 0000000..c574b8e
--- /dev/null
+++ b/profiles/features/rap/packages
@@ -0,0 +1,11 @@
+# kmod has not been prefixified
+-*virtual/modutils
+
+# shadow has not been prefixified
+-*virtual/shadow
+
+# don't need in rap
+-*virtual/dev-manager
+
+# permission is not handled by portage for normal users
+-*net-misc/iputils
diff --git a/profiles/features/rap/profile.bashrc b/profiles/features/rap/profile.bashrc
new file mode 100644
index 0000000..40cc40c
--- /dev/null
+++ b/profiles/features/rap/profile.bashrc
@@ -0,0 +1,9 @@
+# use sysroot of toolchain to get include and library at compile time work
+# Benda Xu <heroxbd@gentoo.org> (17 Jun, 2013)
+
+if [[ ${CATEGORY} == sys-devel ]] && [[ ${PN} == gcc || ${PN} == binutils || ${PN} == libtool ]] \
+ && [[ ${EBUILD_PHASE} == unpack ]]; then
+ elog "append --with-sysroot=${EPREFIX} to configure for Prefix libc"
+ EXTRA_ECONF+="--with-sysroot=${EPREFIX}"
+fi
+
diff --git a/profiles/features/rap/use.force b/profiles/features/rap/use.force
new file mode 100644
index 0000000..193e6d8
--- /dev/null
+++ b/profiles/features/rap/use.force
@@ -0,0 +1,5 @@
+# force Prefix
+prefix
+
+# force rap (Prefix with libc)
+rap
diff --git a/profiles/features/rap/use.mask b/profiles/features/rap/use.mask
new file mode 100644
index 0000000..4c45f2d
--- /dev/null
+++ b/profiles/features/rap/use.mask
@@ -0,0 +1,8 @@
+# unmask prefix
+-prefix
+
+# sys-libs/gpm has not been prefixified
+gpm
+
+# sys-libs/pam has not been prefixified
+pam
diff --git a/profiles/prefix/features/with-libc/packages b/profiles/prefix/features/with-libc/packages
new file mode 100644
index 0000000..be6a3cb
--- /dev/null
+++ b/profiles/prefix/features/with-libc/packages
@@ -0,0 +1,3 @@
+# use OpenRC from gentoo-x86
+-*sys-apps/baselayout-prefix
+*sys-apps/baselayout
diff --git a/profiles/prefix/linux/amd64/with-libc/.unison.packages.78a8f6ffc32b4d5af3a26b6758688d4f.unison.tmp b/profiles/prefix/linux/amd64/with-libc/.unison.packages.78a8f6ffc32b4d5af3a26b6758688d4f.unison.tmp
new file mode 100644
index 0000000..d781c37
--- /dev/null
+++ b/profiles/prefix/linux/amd64/with-libc/.unison.packages.78a8f6ffc32b4d5af3a26b6758688d4f.unison.tmp
@@ -0,0 +1,2 @@
+# use OpenRC
+-*sys-apps/baselayout-prefix
diff --git a/profiles/prefix/linux/arm/with-libc/parent b/profiles/prefix/linux/arm/with-libc/parent
new file mode 100644
index 0000000..76f4041
--- /dev/null
+++ b/profiles/prefix/linux/arm/with-libc/parent
@@ -0,0 +1,2 @@
+../../../features/with-libc
+..
diff --git a/profiles/prefix/linux/x86/with-libc/make.defaults b/profiles/prefix/linux/x86/with-libc/make.defaults
new file mode 100644
index 0000000..3a95173
--- /dev/null
+++ b/profiles/prefix/linux/x86/with-libc/make.defaults
@@ -0,0 +1,6 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/linux/x86/make.defaults,v 1.3 2009/11/04 13:25:03 haubi Exp $
+
+# add back x86. add ~x86 for testing.
+ACCEPT_KEYWORDS="x86 ~x86 ~x86-linux"
diff --git a/profiles/prefix/linux/x86/with-libc/parent b/profiles/prefix/linux/x86/with-libc/parent
new file mode 100644
index 0000000..510455a
--- /dev/null
+++ b/profiles/prefix/linux/x86/with-libc/parent
@@ -0,0 +1,2 @@
+..
+../../../features/with-libc