package/sdl2: use BR2_PACKAGE_MESA3D_GBM

BR2_PACKAGE_MESA3D_GBM should be used instead of
BR2_PACKAGE_MESA3D_OPENGL_EGL as spotted by Arnout in review of
https://patchwork.ozlabs.org/project/buildroot/patch/20210821093908.677218-1-fontaine.fabrice@gmail.com/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-08-24 08:43:57 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 8c8a2973c7
commit 6d664e9cfe

View File

@ -32,14 +32,13 @@ comment "X11 video driver needs X.org"
config BR2_PACKAGE_SDL2_KMSDRM
bool "KMS/DRM video driver"
depends on BR2_PACKAGE_LIBDRM
# requires libgbm from mesa3d
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
depends on BR2_PACKAGE_MESA3D_GBM
comment "KMS/DRM video driver needs 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
comment "KMS/DRM video driver needs mesa3d w/ GBM"
depends on !BR2_PACKAGE_MESA3D_GBM
config BR2_PACKAGE_SDL2_OPENGL
bool "OpenGL (GLX)"