]> git.baikalelectronics.ru Git - uboot.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)
commit16db50d8f13177fde2b478151a293e79b3f9d15b
treed4f2e93ee6b6eeb9b5a7c3cf772a9f2407b25b97
parenta91241153329debf4ab4402445a8fb1474b597e5
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