From 9ed6c3b470698def6595625eedf2e22813d04ce9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 28 Aug 2015 21:40:28 -0400 Subject: [PATCH] profiles: initial RISC-V arch/profile support --- profiles/arch.list | 1 + profiles/arch/base/use.mask | 1 + profiles/arch/riscv/make.defaults | 8 ++++++++ profiles/arch/riscv/package.use.mask | 6 ++++++ profiles/arch/riscv/parent | 1 + profiles/arch/riscv/use.force | 2 ++ profiles/base/make.defaults | 2 +- profiles/default/linux/riscv/13.0/desktop/eapi | 1 + profiles/default/linux/riscv/13.0/desktop/parent | 2 ++ profiles/default/linux/riscv/13.0/developer/eapi | 1 + profiles/default/linux/riscv/13.0/developer/parent | 2 ++ profiles/default/linux/riscv/13.0/eapi | 1 + profiles/default/linux/riscv/13.0/parent | 2 ++ profiles/default/linux/riscv/eapi | 1 + profiles/default/linux/riscv/parent | 3 +++ profiles/profiles.desc | 3 +++ 16 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 profiles/arch/riscv/make.defaults create mode 100644 profiles/arch/riscv/package.use.mask create mode 100644 profiles/arch/riscv/parent create mode 100644 profiles/arch/riscv/use.force create mode 100644 profiles/default/linux/riscv/13.0/desktop/eapi create mode 100644 profiles/default/linux/riscv/13.0/desktop/parent create mode 100644 profiles/default/linux/riscv/13.0/developer/eapi create mode 100644 profiles/default/linux/riscv/13.0/developer/parent create mode 100644 profiles/default/linux/riscv/13.0/eapi create mode 100644 profiles/default/linux/riscv/13.0/parent create mode 100644 profiles/default/linux/riscv/eapi create mode 100644 profiles/default/linux/riscv/parent diff --git a/profiles/arch.list b/profiles/arch.list index 5d07884b7e7f..270c9bc7b0cc 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 9e9bd76ee21e..54a139ff449c 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 000000000000..17e6e78e9ef9 --- /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 000000000000..6534d12ba4eb --- /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 000000000000..eb001c6e8ab8 --- /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 000000000000..612aced6a1fa --- /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 bda4edf634fd..4fc07e1d0f82 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 000000000000..7ed6ff82de6b --- /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 000000000000..ad6c5e126fbb --- /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 000000000000..7ed6ff82de6b --- /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 000000000000..4c893748ce71 --- /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 000000000000..7ed6ff82de6b --- /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 000000000000..7c0377510996 --- /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 000000000000..7ed6ff82de6b --- /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 000000000000..1f65d976126f --- /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 26615a5f7921..b2f2200cf09e 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 -- 2.26.2