diff options
| author | Tom Rini <[email protected]> | 2022-11-19 18:45:43 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-05 16:11:50 -0500 |
| commit | d948c8988c212bc8fe94db556b7ef265d2e96452 (patch) | |
| tree | d4f2e93ee6b6eeb9b5a7c3cf772a9f2407b25b97 /include | |
| parent | 17f13e7119cc628bc26edf12252794770247df63 (diff) | |
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 <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/sandbox.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 1779f1894e7..8d9af7f088d 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -18,8 +18,4 @@ #define CFG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\ 115200} -#ifndef SANDBOX_NO_SDL -#define CONFIG_SANDBOX_SDL -#endif - #endif |
