Skip to contentSkip to conversation

mesa-gl: Remove osmesa dependency

PATCH New Khem Raj 1 participant 1 message May 28, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 mesa-gl: Remove osmesa dependency

osmesa has been removed from recently upgrade mesa recipes remove it from the fallback for non-x11 systems

Cc Trevor Woerner <[email protected]>

---
v2: Remove obsoleted comment as well

 meta/recipes-graphics/mesa/mesa-gl.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
meta/recipes-graphics/mesa/mesa-gl.bb +2 -5
index ca160f1bfce..639a22bb531 100644
@@ -8,8 +8,5 @@ S = "${WORKDIR}/mesa-${PV}"
 
 TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm"
 
-# At least one DRI rendering engine is required to build mesa.
-# When no X11 is available, use osmesa for the rendering engine.
-PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
-PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
-
+PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"