package/gnu-efi: enable on RISC-V 64-bit

gnu-efi RISC-V 64bit support was introduced in commit [1], first
included in version 3.0.14.

This commit adds this architecture in _ARCH_SUPPORTS.

[1] b95f138fa1

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain 2024-04-16 00:02:37 +02:00 committed by Thomas Petazzoni
parent 7d1aaddb2b
commit 1f7c581454
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
bool
default y if BR2_ARM_CPU_HAS_ARM
default y if BR2_RISCV_64
default y if BR2_aarch64
default y if BR2_aarch64_be
default y if BR2_i386

View File

@ -24,6 +24,8 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y)
GNU_EFI_PLATFORM = arm
else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
GNU_EFI_PLATFORM = aarch64
else ifeq ($(BR2_RISCV_64),y)
GNU_EFI_PLATFORM = riscv64
endif
GNU_EFI_MAKE_OPTS = \