From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/rv32imac/
Date: Sat, 5 Sep 2020 15:21:44 +0000 (UTC) [thread overview]
Message-ID: <1599319275.2be6302e962634986ea593d71ac7ca1b6e6ba6a4.dilfridge@gentoo> (raw)
commit: 2be6302e962634986ea593d71ac7ca1b6e6ba6a4
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 5 14:50:07 2020 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Sep 5 15:21:15 2020 +0000
URL: https://gitweb.gentoo.org/proj/riscv.git/commit/?id=2be6302e
Add intermediate rv32imac profile
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
profiles/arch/riscv/rv32imac/eapi | 1 +
profiles/arch/riscv/rv32imac/make.defaults | 23 +++++++++++++++++++++++
profiles/arch/riscv/rv32imac/parent | 2 ++
profiles/arch/riscv/rv32imac/use.force | 5 +++++
profiles/arch/riscv/rv32imac/use.mask | 6 ++++++
5 files changed, 37 insertions(+)
diff --git a/profiles/arch/riscv/rv32imac/eapi b/profiles/arch/riscv/rv32imac/eapi
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/riscv/rv32imac/make.defaults b/profiles/arch/riscv/rv32imac/make.defaults
new file mode 100644
index 0000000..57c09ed
--- /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 lp64d by default
+ABI_RISCV="ilp32d"
+
+# Unhide the riscv/rv64gc-specific USE_EXPANDs
+USE_EXPAND_HIDDEN="-ABI_RISCV"
+
+# Implicitly enable lp64d in ebuilds without multilib support
+IUSE_IMPLICIT="abi_riscv_ilp32d"
diff --git a/profiles/arch/riscv/rv32imac/parent b/profiles/arch/riscv/rv32imac/parent
new file mode 100644
index 0000000..c87ae0e
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/parent
@@ -0,0 +1,2 @@
+..
+gentoo:features/multilib
diff --git a/profiles/arch/riscv/rv32imac/use.force b/profiles/arch/riscv/rv32imac/use.force
new file mode 100644
index 0000000..069813e
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/use.force
@@ -0,0 +1,5 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Force the flag corresponding to the default ABI.
+abi_riscv_ilp32d
diff --git a/profiles/arch/riscv/rv32imac/use.mask b/profiles/arch/riscv/rv32imac/use.mask
new file mode 100644
index 0000000..d57df4d
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/use.mask
@@ -0,0 +1,6 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Unmask the multilib flags for this arch.
+-abi_riscv_ilp32d
+-abi_riscv_ilp32
reply other threads:[~2020-09-05 15:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1599319275.2be6302e962634986ea593d71ac7ca1b6e6ba6a4.dilfridge@gentoo \
--to=dilfridge@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox