mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/sdl2: kmsdrm needs GBM
kmsdrm needs GBM (and so mesa3d) since its addition in version 2.0.6:56363ebf61If libgbm is not found, kmsdrm will be silently disabled Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit5bb4e281c0) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
e310dccbee
commit
32ffddf0bb
@@ -32,10 +32,15 @@ comment "X11 video driver needs X.org"
|
|||||||
config BR2_PACKAGE_SDL2_KMSDRM
|
config BR2_PACKAGE_SDL2_KMSDRM
|
||||||
bool "KMS/DRM video driver"
|
bool "KMS/DRM video driver"
|
||||||
depends on BR2_PACKAGE_LIBDRM
|
depends on BR2_PACKAGE_LIBDRM
|
||||||
|
# requires libgbm from mesa3d
|
||||||
|
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||||
|
|
||||||
comment "KMS/DRM video driver needs libdrm"
|
comment "KMS/DRM video driver needs libdrm"
|
||||||
depends on !BR2_PACKAGE_LIBDRM
|
depends on !BR2_PACKAGE_LIBDRM
|
||||||
|
|
||||||
|
comment "KMS/DRM video driver needs an OpenGL EGL backend provided by mesa3d"
|
||||||
|
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||||
|
|
||||||
config BR2_PACKAGE_SDL2_OPENGL
|
config BR2_PACKAGE_SDL2_OPENGL
|
||||||
bool "OpenGL (GLX)"
|
bool "OpenGL (GLX)"
|
||||||
depends on BR2_PACKAGE_HAS_LIBGL
|
depends on BR2_PACKAGE_HAS_LIBGL
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ SDL2_CONF_OPTS += --disable-alsa
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SDL2_KMSDRM),y)
|
ifeq ($(BR2_PACKAGE_SDL2_KMSDRM),y)
|
||||||
SDL2_DEPENDENCIES += libdrm
|
SDL2_DEPENDENCIES += libdrm mesa3d
|
||||||
SDL2_CONF_OPTS += --enable-video-kmsdrm
|
SDL2_CONF_OPTS += --enable-video-kmsdrm
|
||||||
else
|
else
|
||||||
SDL2_CONF_OPTS += --disable-video-kmsdrm
|
SDL2_CONF_OPTS += --disable-video-kmsdrm
|
||||||
|
|||||||
Reference in New Issue
Block a user