Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/efivar: Add BR2_RISCV_64 in _ARCH_SUPPORTS
@ 2023-12-26 22:20 Julien Olivain
  2024-01-05 13:01 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain @ 2023-12-26 22:20 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

A RISC-V 64bit EFI defconfig was added in commit 82199551
"configs/qemu_riscv64_virt_efi: new defconfig". So efivar can now be
enabled for this architecture.

This commit adds BR2_RISCV_64 in BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS.

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested on branch master at commit 4495383 with commands:

    make check-package
    ...
    0 warnings generated

    utils/test-pkg -a -p efivar
    ...
       bootlin-riscv64-glibc [18/45]: OK
        bootlin-riscv64-musl [19/45]: OK
    ...
    45 builds, 25 skipped, 7 build failed, 0 legal-info failed, 0 show-info failed

Note:
build failures were already present and are unrelated to this patch.

efivar will be used in a future grub2 runtime test for RISC-V 64bit,
suggested by Yann in [1].

[1] https://lists.buildroot.org/pipermail/buildroot/2023-December/681521.html
---
 package/efivar/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/efivar/Config.in b/package/efivar/Config.in
index d4402dbcf7..0a36335c0a 100644
--- a/package/efivar/Config.in
+++ b/package/efivar/Config.in
@@ -2,7 +2,8 @@ config BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
 	bool
 	default y
 	depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 \
-		|| BR2_powerpc64le || BR2_mipsel || BR2_mips64el
+		|| BR2_powerpc64le || BR2_mipsel || BR2_mips64el \
+		|| BR2_RISCV_64
 
 config BR2_PACKAGE_EFIVAR
 	bool "efivar"
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/efivar: Add BR2_RISCV_64 in _ARCH_SUPPORTS
  2023-12-26 22:20 [Buildroot] [PATCH 1/1] package/efivar: Add BR2_RISCV_64 in _ARCH_SUPPORTS Julien Olivain
@ 2024-01-05 13:01 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-01-05 13:01 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

On Tue, 26 Dec 2023 23:20:13 +0100
Julien Olivain <ju.o@free.fr> wrote:

> A RISC-V 64bit EFI defconfig was added in commit 82199551
> "configs/qemu_riscv64_virt_efi: new defconfig". So efivar can now be
> enabled for this architecture.
> 
> This commit adds BR2_RISCV_64 in BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS.
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Patch tested on branch master at commit 4495383 with commands:

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-05 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-26 22:20 [Buildroot] [PATCH 1/1] package/efivar: Add BR2_RISCV_64 in _ARCH_SUPPORTS Julien Olivain
2024-01-05 13:01 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox