summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-gl.bb
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@cherry.de>2025-09-04 16:03:31 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-11 11:31:56 +0100
commitdf8069cb4fc23633edf2d2d7860b581d7438224b (patch)
tree42fcc08d056d52f162b31dd4a194fcbebb4759d7 /meta/recipes-graphics/mesa/mesa-gl.bb
parentb40b112f3206e031dbe44d0fc07de8a2fc005041 (diff)
downloadpoky-df8069cb4fc23633edf2d2d7860b581d7438224b.tar.gz
mesa-gl: use bb.utils.filter to improve readability
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" is exactly the same as ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} so use the latter to make it easier on the eyes. Suggested-by: Khem Raj <raj.khem@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> (From OE-Core rev: 1522c7d371d989d42bd992017a784d6b319d3f38) Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-gl.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl.bb b/meta/recipes-graphics/mesa/mesa-gl.bb
index 35d6dc854c..e11758767f 100644
--- a/meta/recipes-graphics/mesa/mesa-gl.bb
+++ b/meta/recipes-graphics/mesa/mesa-gl.bb
@@ -9,4 +9,4 @@ S = "${UNPACKDIR}/mesa-${PV}"
9TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm" 9TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm"
10 10
11# At least one DRI rendering engine is required to build mesa. 11# At least one DRI rendering engine is required to build mesa.
12PACKAGECONFIG = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" 12PACKAGECONFIG = "opengl gallium ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"