profiles: initial RISC-V arch/profile support
authorMike Frysinger <vapier@gentoo.org>
Sat, 29 Aug 2015 01:40:28 +0000 (21:40 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 29 Aug 2015 01:51:24 +0000 (21:51 -0400)
16 files changed:
profiles/arch.list
profiles/arch/base/use.mask
profiles/arch/riscv/make.defaults [new file with mode: 0644]
profiles/arch/riscv/package.use.mask [new file with mode: 0644]
profiles/arch/riscv/parent [new file with mode: 0644]
profiles/arch/riscv/use.force [new file with mode: 0644]
profiles/base/make.defaults
profiles/default/linux/riscv/13.0/desktop/eapi [new file with mode: 0644]
profiles/default/linux/riscv/13.0/desktop/parent [new file with mode: 0644]
profiles/default/linux/riscv/13.0/developer/eapi [new file with mode: 0644]
profiles/default/linux/riscv/13.0/developer/parent [new file with mode: 0644]
profiles/default/linux/riscv/13.0/eapi [new file with mode: 0644]
profiles/default/linux/riscv/13.0/parent [new file with mode: 0644]
profiles/default/linux/riscv/eapi [new file with mode: 0644]
profiles/default/linux/riscv/parent [new file with mode: 0644]
profiles/profiles.desc

index 5d07884b7e7fbfc5fd7512fb51fc992ff6d7094c..270c9bc7b0cc22da18e9f6ce23a5e6373f1be743 100644 (file)
@@ -10,6 +10,7 @@ mips
 nios2
 ppc
 ppc64
+riscv
 s390
 sh
 sparc
index 9e9bd76ee21e37e99b1b91fa2a95c3025813c90c..54a139ff449c82cfc0e4f3afaec3b3296d1e98f6 100644 (file)
@@ -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 (file)
index 0000000..17e6e78
--- /dev/null
@@ -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 (file)
index 0000000..6534d12
--- /dev/null
@@ -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 (file)
index 0000000..eb001c6
--- /dev/null
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/riscv/use.force b/profiles/arch/riscv/use.force
new file mode 100644 (file)
index 0000000..612aced
--- /dev/null
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+riscv
index bda4edf634fdd8fcd5f05c2f75d63a9b258c78ce..4fc07e1d0f825ce953097f6cfef367b179150b8d 100644 (file)
@@ -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 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -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 (file)
index 0000000..ad6c5e1
--- /dev/null
@@ -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 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -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 (file)
index 0000000..4c89374
--- /dev/null
@@ -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 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -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 (file)
index 0000000..7c03775
--- /dev/null
@@ -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 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/riscv/parent b/profiles/default/linux/riscv/parent
new file mode 100644 (file)
index 0000000..1f65d97
--- /dev/null
@@ -0,0 +1,3 @@
+../../../base
+..
+../../../arch/riscv
index 26615a5f79217c0ec3216d4596eb6eef9b04ee11..b2f2200cf09ec0967e1b60d45515a801331832b0 100644 (file)
@@ -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