From 1f7c58145497ed01d566e08734a62feef1696807 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Tue, 16 Apr 2024 00:02:37 +0200 Subject: [PATCH] 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] https://sourceforge.net/p/gnu-efi/code/ci/b95f138fa1550040e68ac3dd34cfce7d148d7984 Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni --- package/gnu-efi/Config.in | 1 + package/gnu-efi/gnu-efi.mk | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package/gnu-efi/Config.in b/package/gnu-efi/Config.in index d456a23837..4f44cf9f64 100644 --- a/package/gnu-efi/Config.in +++ b/package/gnu-efi/Config.in @@ -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 diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk index 96caaeb933..2eed4e40d2 100644 --- a/package/gnu-efi/gnu-efi.mk +++ b/package/gnu-efi/gnu-efi.mk @@ -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 = \