summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-02-27 14:02:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 11:17:45 +0000
commit254bfb107134702d8d1e0bfbdd1b011212e8c291 (patch)
tree188ddf3ea786bc1b913904330e4f95125bd6def4 /meta/recipes-graphics/mesa
parentdec5650bc292aa3c4a0a04ace72d2cf762e9620b (diff)
downloadpoky-254bfb107134702d8d1e0bfbdd1b011212e8c291.tar.gz
recipes: Make use of the new bb.utils.filter() function
(From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc3
3 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb
index fab0bdb2ee..e80d1e8acb 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb
@@ -30,7 +30,7 @@ PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \
30 x11 glew glu glx" 30 x11 glew glu glx"
31 31
32# The Wayland code doesn't work with Wayland 1.0, so disable it for now 32# The Wayland code doesn't work with Wayland 1.0, so disable it for now
33#${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" 33#${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
34 34
35EXTRA_OECONF = "--with-system-data-files" 35EXTRA_OECONF = "--with-system-data-files"
36 36
diff --git a/meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb b/meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb
index f06a3e9b58..85cc396fe3 100644
--- a/meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb
+++ b/meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb
@@ -8,6 +8,6 @@ PROVIDES = "virtual/libgl virtual/mesa"
8 8
9S = "${WORKDIR}/mesa-${PV}" 9S = "${WORKDIR}/mesa-${PV}"
10 10
11PACKAGECONFIG ??= "dri ${MESA_CRYPTO} ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" 11PACKAGECONFIG ??= "dri ${MESA_CRYPTO} ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
12 12
13EXCLUDE_FROM_WORLD = "1" 13EXCLUDE_FROM_WORLD = "1"
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 5d882b1001..87c6821e65 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -25,8 +25,7 @@ REQUIRED_DISTRO_FEATURES = "opengl"
25EXTRA_OECONF = "--enable-shared-glapi" 25EXTRA_OECONF = "--enable-shared-glapi"
26 26
27PACKAGECONFIG ??= "gbm egl gles dri ${MESA_CRYPTO} \ 27PACKAGECONFIG ??= "gbm egl gles dri ${MESA_CRYPTO} \
28 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\ 28 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \
29 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\
30 " 29 "
31 30
32PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" 31PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"