summaryrefslogtreecommitdiff
path: root/profiles/arch/riscv/rv32imac/make.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/arch/riscv/rv32imac/make.defaults')
-rw-r--r--profiles/arch/riscv/rv32imac/make.defaults23
1 files changed, 23 insertions, 0 deletions
diff --git a/profiles/arch/riscv/rv32imac/make.defaults b/profiles/arch/riscv/rv32imac/make.defaults
new file mode 100644
index 000000000000..e23fe63fb251
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/make.defaults
@@ -0,0 +1,23 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# RISC-V profile for rv32imac multilib
+#
+# This immediate profile is ONLY useful for internal purposes. It can NOT
+# generate stages or a working system due to limitations in gcc.
+
+CHOST="riscv32-unknown-linux-gnu"
+
+# Multilib ABIs
+MULTILIB_ABIS="ilp32d ilp32"
+DEFAULT_ABI="ilp32d"
+ABI="ilp32d"
+
+# Enable ilp32d by default
+ABI_RISCV="ilp32d"
+
+# Unhide the riscv/riscv-specific USE_EXPANDs
+USE_EXPAND_HIDDEN="-ABI_RISCV"
+
+# Implicitly enable ilp32d in ebuilds without multilib support
+IUSE_IMPLICIT="abi_riscv_ilp32d"