summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-dri.inc
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2012-12-18 13:38:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-18 13:28:04 +0000
commit1e3372bdd1f662f5db5c4efd40649bd43a821ec8 (patch)
treef6843aaf9deac704cc62bcd65ead98fa6c2367a2 /meta/recipes-graphics/mesa/mesa-dri.inc
parentcca05e3dca88e751b353249cfbba0287c9ff49ff (diff)
downloadpoky-1e3372bdd1f662f5db5c4efd40649bd43a821ec8.tar.gz
mesa-dri: enable the wayland-egl platform
If the "wayland" DISTRO_FEATURE is present, enable the Wayland EGL platform. This is required by the reference Wayland compositor, Weston. (From OE-Core rev: 0e56ecdd78212e7743e71c5d6a42ceb65c182786) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-dri.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 07544abd45..1f6ec78c68 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -13,6 +13,7 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
13 13
14EGL_PLATFORMS = "drm" 14EGL_PLATFORMS = "drm"
15EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}" 15EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}"
16EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}"
16PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" 17PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
17 18
18python populate_packages_prepend() { 19python populate_packages_prepend() {