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

Simon Glass
2022-11-21T22:52:51Z

On Sat, 19 Nov 2022 at 16:46, Tom Rini <trini@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@chromium.org>
> Signed-off-by: Tom Rini <trini@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@chromium.org>