From: Simon Glass <simon.glass@canonical.com> Theis file handles syncing the EFI memory map to the device tree reserved-memory nodes. It is needed for 64-bit architectures (ARM64 and RISC-V) but is only built for ARM64. Add RISC-V to the build condition. Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- lib/efi_client/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/efi_client/Makefile b/lib/efi_client/Makefile index 9d53ff3c924..685f0a5abfd 100644 --- a/lib/efi_client/Makefile +++ b/lib/efi_client/Makefile @@ -10,6 +10,8 @@ obj-$(CONFIG_EFI_STUB) += efi_info.o ifeq ($(CONFIG_ARM64),y) stub_obj := stub_arm64.o obj-$(CONFIG_EFI_APP) += sync_dt.o +else ifeq ($(CONFIG_RISCV),y) +obj-$(CONFIG_EFI_APP) += sync_dt.o else stub_obj := stub_x86.o -- 2.43.0