commit | 9b64fe1743427a12c8b8eeeda21b389a22b26987 | [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 | 57085679d587c9be7de0ef219d05e978cf75433e [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>