diff mbox series

[v2] mesa-gl: Remove osmesa dependency

Message ID 20250528194151.3223809-1-raj.khem@gmail.com
State Accepted, archived
Commit 7ee8e99a52044e18cd35bde8d280274ce44e26d4
Headers show
Series [v2] mesa-gl: Remove osmesa dependency | expand

Commit Message

Khem Raj May 28, 2025, 7:41 p.m. UTC
osmesa has been removed from recently upgrade mesa recipes
remove it from the fallback for non-x11 systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Woerner <twoerner@gmail.com>
---
v2: Remove obsoleted comment as well

 meta/recipes-graphics/mesa/mesa-gl.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-gl.bb b/meta/recipes-graphics/mesa/mesa-gl.bb
index ca160f1bfce..639a22bb531 100644
--- a/meta/recipes-graphics/mesa/mesa-gl.bb
+++ b/meta/recipes-graphics/mesa/mesa-gl.bb
@@ -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)}"