From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E2A3158089 for ; Mon, 6 Nov 2023 14:38:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A6032BC0B9; Mon, 6 Nov 2023 14:38:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 498D62BC0B6 for ; Mon, 6 Nov 2023 14:38:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7EA11335CEE for ; Mon, 6 Nov 2023 14:38:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB5851324 for ; Mon, 6 Nov 2023 14:38:42 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1699271646.a4cd697f4722e58052066eec79b5e673bb9dd08a.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-boot/limine/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-boot/limine/limine-5.20231103.0-r1.ebuild sys-boot/limine/metadata.xml X-VCS-Directories: sys-boot/limine/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: a4cd697f4722e58052066eec79b5e673bb9dd08a X-VCS-Branch: master Date: Mon, 6 Nov 2023 14:38:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: acfc9d27-1ff5-4a25-a67f-5d971224c339 X-Archives-Hash: 34f016588dc32f60b0fa27e8794110e9 commit: a4cd697f4722e58052066eec79b5e673bb9dd08a Author: Arsen Arsenović gentoo org> AuthorDate: Mon Nov 6 11:53:35 2023 +0000 Commit: David Roman gmail 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ć 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 @@ Enable AArch64 UEFI support. + + Enable 64-bit RISC-V UEFI support. + Enable building cd-efi.bin using sys-fs/mtools. This flag was previously known as eltorito-efi.