summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch.list1
-rw-r--r--profiles/prefix/linux/riscv/eapi1
-rw-r--r--profiles/prefix/linux/riscv/make.defaults14
-rw-r--r--profiles/prefix/linux/riscv/packages2
-rw-r--r--profiles/prefix/linux/riscv/parent2
-rw-r--r--profiles/profiles.desc1
6 files changed, 21 insertions, 0 deletions
diff --git a/profiles/arch.list b/profiles/arch.list
index c1b3f7ab2a45..ff57e39a20b1 100644
--- a/profiles/arch.list
+++ b/profiles/arch.list
@@ -19,6 +19,7 @@ amd64-linux
arm-linux
arm64-linux
ppc64-linux
+riscv-linux
x86-linux
arm64-macos
ppc-macos
diff --git a/profiles/prefix/linux/riscv/eapi b/profiles/prefix/linux/riscv/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/linux/riscv/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux/riscv/make.defaults b/profiles/prefix/linux/riscv/make.defaults
new file mode 100644
index 000000000000..55cdae5090dc
--- /dev/null
+++ b/profiles/prefix/linux/riscv/make.defaults
@@ -0,0 +1,14 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+ARCH="riscv"
+
+CHOST="riscv64-pc-linux-gnu"
+
+ACCEPT_KEYWORDS="~riscv"
+
+SYMLINK_LIB=""
+
+LIBDIR_lp64d="lib"
+
+LIBDIR_lp64="lib" \ No newline at end of file
diff --git a/profiles/prefix/linux/riscv/packages b/profiles/prefix/linux/riscv/packages
new file mode 100644
index 000000000000..7084783a52c6
--- /dev/null
+++ b/profiles/prefix/linux/riscv/packages
@@ -0,0 +1,2 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
diff --git a/profiles/prefix/linux/riscv/parent b/profiles/prefix/linux/riscv/parent
new file mode 100644
index 000000000000..d3b49d5628bb
--- /dev/null
+++ b/profiles/prefix/linux/riscv/parent
@@ -0,0 +1,2 @@
+../../../default/linux/riscv/20.0/rv64gc/lp64d
+..
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index 84a6fef96132..7795134abf23 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -313,6 +313,7 @@ amd64-linux prefix/linux/amd64 exp
arm-linux prefix/linux/arm exp
ppc64-linux prefix/linux/ppc64 exp
ppc64-linux prefix/linux/ppc64le exp
+riscv-linux prefix/linux/riscv exp
x86-linux prefix/linux/x86 exp
# Linux Standalone Profiles