From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/riscv:master commit in: eclass/
Date: Sun, 28 Apr 2019 20:09:07 +0000 (UTC) [thread overview]
Message-ID: <1556482119.ac2be2caa8c9e0a0cc622e2d542b1ab3ec927efb.dilfridge@gentoo> (raw)
commit: ac2be2caa8c9e0a0cc622e2d542b1ab3ec927efb
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 20:08:39 2019 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 20:08:39 2019 +0000
URL: https://gitweb.gentoo.org/proj/riscv.git/commit/?id=ac2be2ca
eclass: Add riscv64 multilib definitions to multilib.eclass
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
eclass/multilib.eclass | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 393f0db..781a59a 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -385,6 +385,20 @@ multilib_env() {
: ${MULTILIB_ABIS=ppc64 ppc}
: ${DEFAULT_ABI=ppc64}
;;
+ riscv64*)
+ export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d}
+ export CHOST_lp64d=${CTARGET}
+ export CTARGET_lp64d=${CTARGET}
+ export LIBDIR_lp64d="lib64/lp64d"
+
+ export CFLAGS_lp64=${CFLAGS_lp64d--mabi=lp64}
+ export CHOST_lp64=${CTARGET}
+ export CTARGET_lp64=${CTARGET}
+ export LIBDIR_lp64="lib64/lp64"
+
+ : ${MULTILIB_ABIS=lp64d lp64}
+ : ${DEFAULT_ABI=lp64d}
+ ;;
s390x*)
export CFLAGS_s390=${CFLAGS_s390--m31} # the 31 is not a typo
export CHOST_s390=${CTARGET/s390x/s390}
next reply other threads:[~2019-04-28 20:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-28 20:09 Andreas K. Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-09-11 16:14 [gentoo-commits] proj/riscv:master commit in: eclass/ Andreas K. Hüttel
2020-09-05 20:50 Andreas K. Hüttel
2020-09-05 20:50 Andreas K. Hüttel
2020-09-02 19:39 Andreas K. Hüttel
2020-09-02 19:39 Andreas K. Hüttel
2019-05-03 21:55 Andreas K. Hüttel
2019-04-28 20:56 Andreas K. Hüttel
2019-04-28 19:49 Andreas K. Hüttel
2019-04-28 10:24 Andreas K. Hüttel
2019-04-28 10:00 Andreas K. Hüttel
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=1556482119.ac2be2caa8c9e0a0cc622e2d542b1ab3ec927efb.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