From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-boot/limine/
Date: Mon, 6 Nov 2023 14:38:42 +0000 (UTC) [thread overview]
Message-ID: <1699271646.a4cd697f4722e58052066eec79b5e673bb9dd08a.davidroman@gentoo> (raw)
commit: a4cd697f4722e58052066eec79b5e673bb9dd08a
Author: Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 6 11:53:35 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Nov 6 11:54:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4cd697f
sys-boot/limine: add rv64 support
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>
sys-boot/limine/limine-5.20231103.0-r1.ebuild | 44 +++++++++++++++++++++++++++
sys-boot/limine/metadata.xml | 3 ++
2 files changed, 47 insertions(+)
diff --git a/sys-boot/limine/limine-5.20231103.0-r1.ebuild b/sys-boot/limine/limine-5.20231103.0-r1.ebuild
new file mode 100644
index 0000000000..73ea272148
--- /dev/null
+++ b/sys-boot/limine/limine-5.20231103.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloader"
+HOMEPAGE="https://limine-bootloader.org/"
+SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64 +uefirv64"
+
+MY_LLVM_TARGETS="AArch64 ARM X86 RISCV"
+MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
+
+BDEPEND="
+ app-alternatives/gzip
+ dev-lang/nasm
+ sys-apps/findutils
+ sys-devel/clang[${MY_LLVM_FLAGS}]
+ sys-devel/lld
+ sys-devel/llvm[${MY_LLVM_FLAGS}]
+
+ cd-efi? ( sys-fs/mtools )
+"
+
+src_configure() {
+ local myconf=(
+ "$(use_enable bios)"
+ "$(use_enable bios-cd)"
+ "$(use_enable bios-pxe)"
+
+ "$(use_enable uefi32 uefi-ia32)"
+ "$(use_enable uefi64 uefi-x86-64)"
+ "$(use_enable uefiaa64 uefi-aarch64)"
+ "$(use_enable uefirv64 uefi-riscv64)"
+ "$(use_enable cd-efi uefi-cd)"
+ )
+
+ TOOLCHAIN_FOR_TARGET=llvm \
+ econf "${myconf[@]}"
+}
diff --git a/sys-boot/limine/metadata.xml b/sys-boot/limine/metadata.xml
index a8b550563d..ddb789d211 100644
--- a/sys-boot/limine/metadata.xml
+++ b/sys-boot/limine/metadata.xml
@@ -18,6 +18,9 @@
<flag name="uefiaa64">
Enable AArch64 UEFI support.
</flag>
+ <flag name="uefirv64">
+ Enable 64-bit RISC-V UEFI support.
+ </flag>
<flag name="cd-efi">
Enable building cd-efi.bin using <pkg>sys-fs/mtools</pkg>.
This flag was previously known as eltorito-efi.
next reply other threads:[~2023-11-06 14:38 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-06 14:38 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-09 16:30 [gentoo-commits] repo/proj/guru:master commit in: sys-boot/limine/ Viorel Munteanu
2024-11-02 20:52 David Roman
2024-10-19 0:05 David Roman
2024-10-12 18:59 David Roman
2024-10-03 9:43 Andrew Ammerlaan
2024-09-18 23:46 Haelwenn Monnier
2024-09-10 23:59 David Roman
2024-09-06 8:52 David Roman
2024-09-03 10:53 David Roman
2024-08-30 13:16 David Roman
2024-08-19 16:33 Lucio Sauer
2024-08-19 16:33 Lucio Sauer
2024-08-19 16:33 Lucio Sauer
2024-07-08 16:47 David Roman
2024-05-07 3:54 Rui Huang
2024-04-03 20:20 Julien Roy
2024-02-17 21:17 Julien Roy
2024-02-09 0:30 David Roman
2024-02-09 0:30 David Roman
2024-01-20 22:13 David Roman
2024-01-03 15:20 David Roman
2023-11-29 22:40 David Roman
2023-11-06 14:18 David Roman
2023-08-14 16:36 Haelwenn Monnier
2023-06-07 7:04 Viorel Munteanu
2023-05-29 20:57 Florian Schmaus
2023-05-16 5:08 Viorel Munteanu
2023-04-28 17:52 Arthur Zamarin
2023-04-09 10:05 Viorel Munteanu
2023-04-04 7:48 Florian Schmaus
2023-03-16 8:41 Florian Schmaus
2023-03-10 5:48 Viorel Munteanu
2023-03-06 13:38 Florian Schmaus
2023-03-06 13:38 Florian Schmaus
2023-02-27 15:06 Florian Schmaus
2023-02-14 12:02 Florian Schmaus
2023-02-14 12:02 Florian Schmaus
2022-05-09 18:44 Andrew Ammerlaan
2022-03-11 10:57 Arthur Zamarin
2022-03-11 10:57 Arthur Zamarin
2022-02-24 11:10 Ronny Gutbrod
2022-02-20 8:46 Florian Schmaus
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=1699271646.a4cd697f4722e58052066eec79b5e673bb9dd08a.davidroman@gentoo \
--to=davidroman96@gmail.com \
--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