diff options
author | Randy MacLeod <randy.macleod@windriver.com> | 2020-11-10 20:06:52 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-13 14:32:00 +0000 |
commit | e23f5b063aac65040317792db51ba7654f906bdb (patch) | |
tree | 1aa3bff198809dff64b5f9e5e46506dfc39a6bbd | |
parent | 8527cab92387e7a777f36ab958852a53279cc5c7 (diff) | |
download | poky-e23f5b063aac65040317792db51ba7654f906bdb.tar.gz |
libsdl2: Disable video-rpi
When building on Raspbery Pi OS/64-bit, libsdl2 fails with
the error:
.../tmp/work/aarch64-linux/libsdl2-native/2.9.12-r0/SDL2-2.0.12/src/video/raspberry/SDL.rpivideo.h:47:5:
error: unknown type name 'EGL_DISPMANX_WINDOW_T'
EGL_DISPMANX_WINDOW_T dispman_window;
Disable video-rpi to avoid the problem since video suppport is
not needed for rpi and this configuration option is harmless when
building on x86-64 hosts.
(From OE-Core rev: 51009ed1b88aa391aae819fd800b907badc2be8c)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb index 0b75eb0c1d..2ef7d2e5ef 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb | |||
@@ -36,6 +36,7 @@ CVE_PRODUCT = "simple_directmedia_layer sdl" | |||
36 | EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ | 36 | EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ |
37 | --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ | 37 | --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ |
38 | --disable-video-dummy \ | 38 | --disable-video-dummy \ |
39 | --disable-video-rpi \ | ||
39 | --enable-pthreads \ | 40 | --enable-pthreads \ |
40 | --enable-sdl-dlopen \ | 41 | --enable-sdl-dlopen \ |
41 | --disable-rpath \ | 42 | --disable-rpath \ |