[PATCH 0/3] sandbox: HOST_ARCH improvements

Jiaxun Yang jiaxun.yang at flygoat.com
Sat May 18 00:09:26 CEST 2024


Hi all,

This series is in respond to a review comment [1] I got from Heinrich.

It moved detection of HOST_ARCH to Kconfig, which allows us to control
options based on HOST_ARCH.

It further improved detection and configuration of SDL2 so that it can
work with cross toolchain provided sysroot.

Tested on x86_64, cross compile and loosely tesed with qemu-user on
riscv64, arm, aarch64.

Thanks

[1]: https://lore.kernel.org/u-boot/2CD8D385-F0A9-4A1B-827D-1C55CD7E32ED@gmx.de/

Signed-off-by: Jiaxun Yang <jiaxun.yang at flygoat.com>
---
Jiaxun Yang (3):
      sandbox: Move HOST_ARCH detection to Kconfig
      EFI: Make EFI loader depend sandbox HOST_ARCH
      sandbox: Use pkg-config to detect and config sdl2

 Makefile                                          | 27 ++---------------------
 arch/sandbox/Kconfig                              | 25 ++++++++++++++++++++-
 arch/sandbox/config.mk                            | 17 +++++++-------
 arch/sandbox/lib/crt0_sandbox_efi.S               | 14 ++++++------
 arch/sandbox/lib/reloc_sandbox_efi.c              | 14 ++++++------
 doc/arch/sandbox/sandbox.rst                      |  6 -----
 include/efi_default_filename.h                    | 14 ++++++------
 include/host_arch.h                               | 26 ----------------------
 lib/efi_loader/Kconfig                            |  7 ++++--
 lib/efi_selftest/efi_selftest_miniapp_exception.c |  6 ++---
 10 files changed, 63 insertions(+), 93 deletions(-)
---
base-commit: ad7dce5abd49ef3b5c93da5303e15449c8c162b4
change-id: 20240517-sandbox-hostarch-kconfig-a56a5f80b70d

Best regards,
-- 
Jiaxun Yang <jiaxun.yang at flygoat.com>



More information about the U-Boot mailing list