
Building helloworld.efi and UEFI binaries needed for unit tests requires that the build system considers the host architecture on which the sandbox is built.
The patch series provides these adjustment and enables building both helloworld.efi and unit test requiring UEFI binaries.
v2: enable building UEFI unit tests requiring UEFI binaries
Heinrich Schuchardt (3): efi_loader: call add_u_boot_and_runtime() on sandbox efi_loader: support building UEFI binaries on sandbox efi_selftest: enable all UEFI unit tests on the sandbox
Makefile | 19 +++++++++++++++++ arch/sandbox/config.mk | 28 ++++++++++++++++++++++++ arch/sandbox/lib/crt0_sandbox_efi.S | 32 ++++++++++++++++++++++++++++ arch/sandbox/lib/reloc_sandbox_efi.c | 32 ++++++++++++++++++++++++++++ cmd/Kconfig | 2 +- include/host_arch.h | 24 +++++++++++++++++++++ lib/efi_loader/Makefile | 3 +++ lib/efi_loader/efi_memory.c | 9 ++++---- lib/efi_selftest/Makefile | 7 ++++-- 9 files changed, 149 insertions(+), 7 deletions(-) create mode 100644 arch/sandbox/lib/crt0_sandbox_efi.S create mode 100644 arch/sandbox/lib/reloc_sandbox_efi.c create mode 100644 include/host_arch.h
-- 2.24.0