package/sdl2: use BR2_PACKAGE_MESA3D_GBM
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 24 Aug 2021 06:43:57 +0000 (08:43 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 28 Aug 2021 15:49:13 +0000 (17:49 +0200)
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>
package/sdl2/Config.in

index 07de75a4d520440bd376d58c4e191b1b5532827d..2ad45e4d0087a3480c93c2b5638d97f203f10e7b 100644 (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)"