package/mesa3d: DRI drivers need either glx, egl or gbm
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 20 Jul 2021 17:29:11 +0000 (19:29 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 2 Aug 2021 12:36:53 +0000 (14:36 +0200)
Fixes build error:
../output-1/build/mesa3d-21.1.5/meson.build:520:4:
 ERROR: Problem encountered: building dri drivers require at least one windowing system

OSMesa is not seen as a valid windowing system for DRI drivers anymore:
https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=21.1&id=ee802372180a2b4460cc7abb53438e45c6b6f1e4

Commit 15a2f9b819806d38a7d8172a20f80130b1d60e63 blindly renamed
BR2_PACKAGE_MESA3D_OSMESA_CLASSIC to BR2_PACKAGE_MESA3D_OSMESA_GALLIUM
without checking for this particular case.

Fixes:
http://autobuild.buildroot.net/results/46e3a66ddc13a064e512aad0f3afd8655889ab9d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/mesa3d/Config.in

index d1b3af20548f8827f07adb5417e278d4cf0a6124..41c90c49af79c334a0e16bda9117ac23364b3de8 100644 (file)
@@ -63,8 +63,7 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER
        select BR2_PACKAGE_MESA3D_DRIVER
        select BR2_PACKAGE_MESA3D_GBM if \
                !BR2_PACKAGE_MESA3D_OPENGL_GLX && \
-               !BR2_PACKAGE_MESA3D_OPENGL_EGL && \
-               !BR2_PACKAGE_MESA3D_OSMESA_GALLIUM
+               !BR2_PACKAGE_MESA3D_OPENGL_EGL
        select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
                (BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4)