commit:     89c1a04e87b1162539a0925eff8824b149753178
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 14:36:37 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 14:38:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c1a04e

p/p/l-s/arm: add arm profile for prefix-standalone.

 profiles/prefix/linux-standalone/amd64/make.defaults               | 4 +---
 profiles/prefix/linux-standalone/arm/armv7a/eapi                   | 1 +
 profiles/prefix/linux-standalone/{x86 => arm/armv7a}/make.defaults | 4 +---
 profiles/prefix/linux-standalone/arm/armv7a/parent                 | 2 ++
 profiles/prefix/linux-standalone/x86/make.defaults                 | 4 +---
 profiles/profiles.desc                                             | 1 +
 6 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/profiles/prefix/linux-standalone/amd64/make.defaults 
b/profiles/prefix/linux-standalone/amd64/make.defaults
index 00115a2..fda0023 100644
--- a/profiles/prefix/linux-standalone/amd64/make.defaults
+++ b/profiles/prefix/linux-standalone/amd64/make.defaults
@@ -2,6 +2,4 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-ARCH="amd64"
-CHOST="x86_64-pc-linux-gnu"
-ACCEPT_KEYWORDS="~amd64 ~amd64-linux"
+ACCEPT_KEYWORDS="~${ARCH} ~${ARCH}-linux"

diff --git a/profiles/prefix/linux-standalone/arm/armv7a/eapi 
b/profiles/prefix/linux-standalone/arm/armv7a/eapi
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/profiles/prefix/linux-standalone/arm/armv7a/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/prefix/linux-standalone/x86/make.defaults 
b/profiles/prefix/linux-standalone/arm/armv7a/make.defaults
similarity index 61%
copy from profiles/prefix/linux-standalone/x86/make.defaults
copy to profiles/prefix/linux-standalone/arm/armv7a/make.defaults
index dddce96..1e50879 100644
--- a/profiles/prefix/linux-standalone/x86/make.defaults
+++ b/profiles/prefix/linux-standalone/arm/armv7a/make.defaults
@@ -2,6 +2,4 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-ARCH="x86"
-CHOST="i686-pc-linux-gnu"
-ACCEPT_KEYWORDS="~x86 ~x86-linux"
+ACCEPT_KEYWORDS="~${ARCH}"

diff --git a/profiles/prefix/linux-standalone/arm/armv7a/parent 
b/profiles/prefix/linux-standalone/arm/armv7a/parent
new file mode 100644
index 0000000..4365b5e
--- /dev/null
+++ b/profiles/prefix/linux-standalone/arm/armv7a/parent
@@ -0,0 +1,2 @@
+../../../../default/linux/arm/13.0/armv7a
+../..

diff --git a/profiles/prefix/linux-standalone/x86/make.defaults 
b/profiles/prefix/linux-standalone/x86/make.defaults
index dddce96..fda0023 100644
--- a/profiles/prefix/linux-standalone/x86/make.defaults
+++ b/profiles/prefix/linux-standalone/x86/make.defaults
@@ -2,6 +2,4 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-ARCH="x86"
-CHOST="i686-pc-linux-gnu"
-ACCEPT_KEYWORDS="~x86 ~x86-linux"
+ACCEPT_KEYWORDS="~${ARCH} ~${ARCH}-linux"

diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index e44910d..fe19555 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -254,6 +254,7 @@ amd64-linux         prefix/linux-standalone/amd64           
        exp
 amd64-linux            prefix/linux-standalone/amd64/legacy            exp
 x86-linux              prefix/linux-standalone/x86                     exp
 x86-linux              prefix/linux-standalone/x86/legacy              exp
+arm-linux              prefix/linux-standalone/arm/armv7a              exp
 
 # Mac OS X Profiles
 ppc-macos              prefix/darwin/macos/10.4/ppc                    exp

Reply via email to