]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sandbox: Rework how SDL is enabled / disabled
authorTom Rini <trini@konsulko.com>
Sat, 19 Nov 2022 23:45:43 +0000 (18:45 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:11:50 +0000 (16:11 -0500)
commitd948c8988c212bc8fe94db556b7ef265d2e96452
treed4f2e93ee6b6eeb9b5a7c3cf772a9f2407b25b97
parent17f13e7119cc628bc26edf12252794770247df63
sandbox: Rework how SDL is enabled / disabled

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
.azure-pipelines.yml
arch/sandbox/Kconfig
arch/sandbox/config.mk
doc/arch/sandbox/sandbox.rst
doc/build/tools.rst
drivers/video/Kconfig
include/configs/sandbox.h