[PATCH] sandbox: video: Fix building without SDL

Anatolij Gustschin agust at denx.de
Fri Apr 7 21:58:26 CEST 2023


On Fri, 17 Feb 2023 15:45:47 -0700
Simon Glass sjg at 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 function return an error in this case.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  arch/sandbox/include/asm/test.h | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied to u-boot-video/master, thanks!

--
Anatolij


More information about the U-Boot mailing list