Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/base/, profiles/default/linux/riscv/13.0/desktop/, ...
Date: Sat, 29 Aug 2015 01:53:12
Message-Id: 1440813084.9ed6c3b470698def6595625eedf2e22813d04ce9.vapier@gentoo
1 commit: 9ed6c3b470698def6595625eedf2e22813d04ce9
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 01:40:28 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 01:51:24 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ed6c3b4
7
8 profiles: initial RISC-V arch/profile support
9
10 profiles/arch.list | 1 +
11 profiles/arch/base/use.mask | 1 +
12 profiles/arch/riscv/make.defaults | 8 ++++++++
13 profiles/arch/riscv/package.use.mask | 6 ++++++
14 profiles/arch/riscv/parent | 1 +
15 profiles/arch/riscv/use.force | 2 ++
16 profiles/base/make.defaults | 2 +-
17 profiles/default/linux/riscv/13.0/desktop/eapi | 1 +
18 profiles/default/linux/riscv/13.0/desktop/parent | 2 ++
19 profiles/default/linux/riscv/13.0/developer/eapi | 1 +
20 profiles/default/linux/riscv/13.0/developer/parent | 2 ++
21 profiles/default/linux/riscv/13.0/eapi | 1 +
22 profiles/default/linux/riscv/13.0/parent | 2 ++
23 profiles/default/linux/riscv/eapi | 1 +
24 profiles/default/linux/riscv/parent | 3 +++
25 profiles/profiles.desc | 3 +++
26 16 files changed, 36 insertions(+), 1 deletion(-)
27
28 diff --git a/profiles/arch.list b/profiles/arch.list
29 index 5d07884..270c9bc 100644
30 --- a/profiles/arch.list
31 +++ b/profiles/arch.list
32 @@ -10,6 +10,7 @@ mips
33 nios2
34 ppc
35 ppc64
36 +riscv
37 s390
38 sh
39 sparc
40
41 diff --git a/profiles/arch/base/use.mask b/profiles/arch/base/use.mask
42 index 9e9bd76..54a139f 100644
43 --- a/profiles/arch/base/use.mask
44 +++ b/profiles/arch/base/use.mask
45 @@ -11,6 +11,7 @@ mips
46 nios2
47 ppc
48 ppc64
49 +riscv
50 s390
51 sh
52 sparc
53
54 diff --git a/profiles/arch/riscv/make.defaults b/profiles/arch/riscv/make.defaults
55 new file mode 100644
56 index 0000000..17e6e78
57 --- /dev/null
58 +++ b/profiles/arch/riscv/make.defaults
59 @@ -0,0 +1,8 @@
60 +# Copyright 1999-2015 Gentoo Foundation
61 +# Distributed under the terms of the GNU General Public License v2
62 +# $Id$
63 +
64 +# Main RISC-V profile; endian/bitsize independent.
65 +
66 +ARCH="riscv"
67 +ACCEPT_KEYWORDS="riscv"
68
69 diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask
70 new file mode 100644
71 index 0000000..6534d12
72 --- /dev/null
73 +++ b/profiles/arch/riscv/package.use.mask
74 @@ -0,0 +1,6 @@
75 +# Copyright 1999-2015 Gentoo Foundation
76 +# Distributed under the terms of the GNU General Public License v2
77 +# $Id$
78 +
79 +# libpcre doesn't support jit on RISC-V.
80 +dev-libs/libpcre jit
81
82 diff --git a/profiles/arch/riscv/parent b/profiles/arch/riscv/parent
83 new file mode 100644
84 index 0000000..eb001c6
85 --- /dev/null
86 +++ b/profiles/arch/riscv/parent
87 @@ -0,0 +1 @@
88 +../base
89
90 diff --git a/profiles/arch/riscv/use.force b/profiles/arch/riscv/use.force
91 new file mode 100644
92 index 0000000..612aced
93 --- /dev/null
94 +++ b/profiles/arch/riscv/use.force
95 @@ -0,0 +1,2 @@
96 +# Force the flag which corresponds to ARCH.
97 +riscv
98
99 diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
100 index bda4edf..4fc07e1 100644
101 --- a/profiles/base/make.defaults
102 +++ b/profiles/base/make.defaults
103 @@ -9,7 +9,7 @@
104 IUSE_IMPLICIT="prefix prefix-guest"
105 USE_EXPAND_UNPREFIXED="ARCH"
106 USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
107 -USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips nios2 ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-cygwin x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
108 +USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips nios2 ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd riscv s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-cygwin x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
109 USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
110 USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
111 USE_EXPAND_VALUES_USERLAND="BSD GNU"
112
113 diff --git a/profiles/default/linux/riscv/13.0/desktop/eapi b/profiles/default/linux/riscv/13.0/desktop/eapi
114 new file mode 100644
115 index 0000000..7ed6ff8
116 --- /dev/null
117 +++ b/profiles/default/linux/riscv/13.0/desktop/eapi
118 @@ -0,0 +1 @@
119 +5
120
121 diff --git a/profiles/default/linux/riscv/13.0/desktop/parent b/profiles/default/linux/riscv/13.0/desktop/parent
122 new file mode 100644
123 index 0000000..ad6c5e1
124 --- /dev/null
125 +++ b/profiles/default/linux/riscv/13.0/desktop/parent
126 @@ -0,0 +1,2 @@
127 +..
128 +../../../../../targets/desktop
129
130 diff --git a/profiles/default/linux/riscv/13.0/developer/eapi b/profiles/default/linux/riscv/13.0/developer/eapi
131 new file mode 100644
132 index 0000000..7ed6ff8
133 --- /dev/null
134 +++ b/profiles/default/linux/riscv/13.0/developer/eapi
135 @@ -0,0 +1 @@
136 +5
137
138 diff --git a/profiles/default/linux/riscv/13.0/developer/parent b/profiles/default/linux/riscv/13.0/developer/parent
139 new file mode 100644
140 index 0000000..4c89374
141 --- /dev/null
142 +++ b/profiles/default/linux/riscv/13.0/developer/parent
143 @@ -0,0 +1,2 @@
144 +..
145 +../../../../../targets/developer
146
147 diff --git a/profiles/default/linux/riscv/13.0/eapi b/profiles/default/linux/riscv/13.0/eapi
148 new file mode 100644
149 index 0000000..7ed6ff8
150 --- /dev/null
151 +++ b/profiles/default/linux/riscv/13.0/eapi
152 @@ -0,0 +1 @@
153 +5
154
155 diff --git a/profiles/default/linux/riscv/13.0/parent b/profiles/default/linux/riscv/13.0/parent
156 new file mode 100644
157 index 0000000..7c03775
158 --- /dev/null
159 +++ b/profiles/default/linux/riscv/13.0/parent
160 @@ -0,0 +1,2 @@
161 +..
162 +../../../../releases/13.0
163
164 diff --git a/profiles/default/linux/riscv/eapi b/profiles/default/linux/riscv/eapi
165 new file mode 100644
166 index 0000000..7ed6ff8
167 --- /dev/null
168 +++ b/profiles/default/linux/riscv/eapi
169 @@ -0,0 +1 @@
170 +5
171
172 diff --git a/profiles/default/linux/riscv/parent b/profiles/default/linux/riscv/parent
173 new file mode 100644
174 index 0000000..1f65d97
175 --- /dev/null
176 +++ b/profiles/default/linux/riscv/parent
177 @@ -0,0 +1,3 @@
178 +../../../base
179 +..
180 +../../../arch/riscv
181
182 diff --git a/profiles/profiles.desc b/profiles/profiles.desc
183 index 26615a5..b2f2200 100644
184 --- a/profiles/profiles.desc
185 +++ b/profiles/profiles.desc
186 @@ -132,6 +132,9 @@ ppc64 default/linux/powerpc/ppc64/13.0/64bit-userland/desktop/kde
187 ppc64 default/linux/powerpc/ppc64/13.0/64bit-userland/desktop/kde/systemd stable
188 ppc64 default/linux/powerpc/ppc64/13.0/64bit-userland/developer stable
189
190 +# RISC-V Profiles
191 +riscv default/linux/riscv/13.0 exp
192 +
193 # S390 Profiles
194 s390 default/linux/s390/13.0 exp
195 s390 default/linux/s390/13.0/s390x exp