Re: [PATCH] sandbox: video: Fix building without SDL

2023-04-07 Thread Anatolij Gustschin
On Fri, 17 Feb 2023 15:45:47 -0700 Simon Glass s...@chromium.org wrote: > 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

[PATCH] sandbox: video: Fix building without SDL

2023-02-17 Thread Simon Glass
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 ---