commit | 67a36465216a292240b8b0ae088dd1ee7223029a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Feb 17 15:45:47 2023 -0700 |
committer | Anatolij Gustschin <agust@denx.de> | Fri Apr 07 17:43:36 2023 +0200 |
tree | a3a1e86dd843c2f8ca64e95d44a58f3c85395130 | |
parent | 340bebf9c799793affefd166875d5776744988bd [diff] |
sandbox: video: Fix building without SDL This is currently broken. If SDL is not installed, SANDBOX_SDL becomes false and build errors are generated, e.g.: test/dm/video.c:424: undefined reference to `sandbox_sdl_set_bpp' Fix it by making the function return an error in this case. Signed-off-by: Simon Glass <sjg@chromium.org>