summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-28 21:40:28 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-28 21:51:24 -0400
commit9ed6c3b470698def6595625eedf2e22813d04ce9 (patch)
treef86e05d79b6f2996352e69ebedf220d77e44caec /profiles
parentedfc7249d2f5f33ce615c70c1d4cd9762e57e8f6 (diff)
downloadgentoo-9ed6c3b470698def6595625eedf2e22813d04ce9.tar.gz
gentoo-9ed6c3b470698def6595625eedf2e22813d04ce9.tar.xz
profiles: initial RISC-V arch/profile support
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch.list1
-rw-r--r--profiles/arch/base/use.mask1
-rw-r--r--profiles/arch/riscv/make.defaults8
-rw-r--r--profiles/arch/riscv/package.use.mask6
-rw-r--r--profiles/arch/riscv/parent1
-rw-r--r--profiles/arch/riscv/use.force2
-rw-r--r--profiles/base/make.defaults2
-rw-r--r--profiles/default/linux/riscv/13.0/desktop/eapi1
-rw-r--r--profiles/default/linux/riscv/13.0/desktop/parent2
-rw-r--r--profiles/default/linux/riscv/13.0/developer/eapi1
-rw-r--r--profiles/default/linux/riscv/13.0/developer/parent2
-rw-r--r--profiles/default/linux/riscv/13.0/eapi1
-rw-r--r--profiles/default/linux/riscv/13.0/parent2
-rw-r--r--profiles/default/linux/riscv/eapi1
-rw-r--r--profiles/default/linux/riscv/parent3
-rw-r--r--profiles/profiles.desc3
16 files changed, 36 insertions, 1 deletions
diff --git a/profiles/arch.list b/profiles/arch.list
index 5d07884b7e7..270c9bc7b0c 100644
--- a/profiles/arch.list
+++ b/profiles/arch.list
@@ -10,6 +10,7 @@ mips
nios2
ppc
ppc64
+riscv
s390
sh
sparc
diff --git a/profiles/arch/base/use.mask b/profiles/arch/base/use.mask
index 9e9bd76ee21..54a139ff449 100644
--- a/profiles/arch/base/use.mask
+++ b/profiles/arch/base/use.mask
@@ -11,6 +11,7 @@ mips
nios2
ppc
ppc64
+riscv
s390
sh
sparc
diff --git a/profiles/arch/riscv/make.defaults b/profiles/arch/riscv/make.defaults
new file mode 100644
index 00000000000..17e6e78e9ef
--- /dev/null
+++ b/profiles/arch/riscv/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Main RISC-V profile; endian/bitsize independent.
+
+ARCH="riscv"
+ACCEPT_KEYWORDS="riscv"
diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask
new file mode 100644
index 00000000000..6534d12ba4e
--- /dev/null
+++ b/profiles/arch/riscv/package.use.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# libpcre doesn't support jit on RISC-V.
+dev-libs/libpcre jit
diff --git a/profiles/arch/riscv/parent b/profiles/arch/riscv/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/riscv/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/riscv/use.force b/profiles/arch/riscv/use.force
new file mode 100644
index 00000000000..612aced6a1f
--- /dev/null
+++ b/profiles/arch/riscv/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+riscv
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
index bda4edf634f..4fc07e1d0f8 100644
--- a/profiles/base/make.defaults
+++ b/profiles/base/make.defaults
@@ -9,7 +9,7 @@
IUSE_IMPLICIT="prefix prefix-guest"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
-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"
+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"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
diff --git a/profiles/default/linux/riscv/13.0/desktop/eapi b/profiles/default/linux/riscv/13.0/desktop/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/default/linux/riscv/13.0/desktop/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/riscv/13.0/desktop/parent b/profiles/default/linux/riscv/13.0/desktop/parent
new file mode 100644
index 00000000000..ad6c5e126fb
--- /dev/null
+++ b/profiles/default/linux/riscv/13.0/desktop/parent
@@ -0,0 +1,2 @@
+..
+../../../../../targets/desktop
diff --git a/profiles/default/linux/riscv/13.0/developer/eapi b/profiles/default/linux/riscv/13.0/developer/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/default/linux/riscv/13.0/developer/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/riscv/13.0/developer/parent b/profiles/default/linux/riscv/13.0/developer/parent
new file mode 100644
index 00000000000..4c893748ce7
--- /dev/null
+++ b/profiles/default/linux/riscv/13.0/developer/parent
@@ -0,0 +1,2 @@
+..
+../../../../../targets/developer
diff --git a/profiles/default/linux/riscv/13.0/eapi b/profiles/default/linux/riscv/13.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/default/linux/riscv/13.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/riscv/13.0/parent b/profiles/default/linux/riscv/13.0/parent
new file mode 100644
index 00000000000..7c037751099
--- /dev/null
+++ b/profiles/default/linux/riscv/13.0/parent
@@ -0,0 +1,2 @@
+..
+../../../../releases/13.0
diff --git a/profiles/default/linux/riscv/eapi b/profiles/default/linux/riscv/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/default/linux/riscv/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/riscv/parent b/profiles/default/linux/riscv/parent
new file mode 100644
index 00000000000..1f65d976126
--- /dev/null
+++ b/profiles/default/linux/riscv/parent
@@ -0,0 +1,3 @@
+../../../base
+..
+../../../arch/riscv
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index 26615a5f792..b2f2200cf09 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -132,6 +132,9 @@ ppc64 default/linux/powerpc/ppc64/13.0/64bit-userland/desktop/kde
ppc64 default/linux/powerpc/ppc64/13.0/64bit-userland/desktop/kde/systemd stable
ppc64 default/linux/powerpc/ppc64/13.0/64bit-userland/developer stable
+# RISC-V Profiles
+riscv default/linux/riscv/13.0 exp
+
# S390 Profiles
s390 default/linux/s390/13.0 exp
s390 default/linux/s390/13.0/s390x exp