From: Dmitry Baryshkov Date: Fri, 20 Jun 2025 19:14:56 +0000 (+0300) Subject: mesa: enable glvnd if it is enabled in DISTRO_FEATURES X-Git-Tag: uninative-4.8~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=25d29420919caadae4d35e7eb0291dd3504d8552;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git mesa: enable glvnd if it is enabled in DISTRO_FEATURES Let the distro to be a central authority regarding GLVND feature. Make mesa.inc enable glvnd PACKAGECONFIG if it is enabled in DISTRO_FEATURES. Signed-off-by: Dmitry Baryshkov Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index b3b369d0ee..6b42a238cc 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -84,7 +84,7 @@ def strip_comma(s): PACKAGECONFIG = " \ gallium \ video-codecs \ - ${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland glvnd', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm virgl', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'zink', '', d)} \ "