efi_loader: support building UEFI binaries on sandbox
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 7 Nov 2019 07:05:17 +0000 (08:05 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 12 Nov 2019 22:13:54 +0000 (23:13 +0100)
commit3b4847cbee7cf5c2a6ea19c25003876d0cba4ced
tree9a3ce2aad6d03b5bb61018611e9d8314f70f036f
parent7264e21fdead677687934eecda6ac98f37851acf
efi_loader: support building UEFI binaries on sandbox

On the sandbox the UEFI binaries must match the host architectures.

Adjust the Makefiles. Provide the PE/COFF header and relocation files.

Allow building helloworld.efi on the sandbox.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Makefile
arch/sandbox/config.mk
arch/sandbox/lib/crt0_sandbox_efi.S [new file with mode: 0644]
arch/sandbox/lib/reloc_sandbox_efi.c [new file with mode: 0644]
cmd/Kconfig
include/host_arch.h [new file with mode: 0644]
lib/efi_loader/Makefile