[PATCH 36/38] sandbox: Rework how SDL is enabled / disabled

Simon Glass sjg at chromium.org
Mon Nov 21 23:51:12 CET 2022


On Sat, 19 Nov 2022 at 16:46, Tom Rini <trini at konsulko.com> wrote:
>
> Given that we can use Kconfig logic directly to see if we have a program
> available on the host or not, change from passing NO_SDL to instead
> controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce
> CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default
> CONFIG_SANDBOX_SDL on if we have that, or not.
>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  .azure-pipelines.yml         | 4 ++--
>  arch/sandbox/Kconfig         | 7 +++++++
>  arch/sandbox/config.mk       | 4 +---
>  doc/arch/sandbox/sandbox.rst | 9 +++------
>  doc/build/tools.rst          | 2 +-
>  drivers/video/Kconfig        | 2 +-
>  include/configs/sandbox.h    | 4 ----
>  7 files changed, 15 insertions(+), 17 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list