Message ID | 20231226222013.3316022-1-ju.o@free.fr |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/efivar: Add BR2_RISCV_64 in _ARCH_SUPPORTS | expand |
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
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"
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(-)