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>
Showing
- Makefile 19 additions, 0 deletionsMakefile
- arch/sandbox/config.mk 28 additions, 0 deletionsarch/sandbox/config.mk
- arch/sandbox/lib/crt0_sandbox_efi.S 32 additions, 0 deletionsarch/sandbox/lib/crt0_sandbox_efi.S
- arch/sandbox/lib/reloc_sandbox_efi.c 32 additions, 0 deletionsarch/sandbox/lib/reloc_sandbox_efi.c
- cmd/Kconfig 1 addition, 1 deletioncmd/Kconfig
- include/host_arch.h 24 additions, 0 deletionsinclude/host_arch.h
- lib/efi_loader/Makefile 3 additions, 0 deletionslib/efi_loader/Makefile
Loading
Please register or sign in to comment