diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2012-12-18 13:38:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-18 13:28:04 +0000 |
commit | 1e3372bdd1f662f5db5c4efd40649bd43a821ec8 (patch) | |
tree | f6843aaf9deac704cc62bcd65ead98fa6c2367a2 /meta/recipes-graphics/mesa/mesa-dri.inc | |
parent | cca05e3dca88e751b353249cfbba0287c9ff49ff (diff) | |
download | poky-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.inc | 1 |
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 | ||
14 | EGL_PLATFORMS = "drm" | 14 | EGL_PLATFORMS = "drm" |
15 | EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}" | 15 | EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}" |
16 | EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}" | ||
16 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" | 17 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" |
17 | 18 | ||
18 | python populate_packages_prepend() { | 19 | python populate_packages_prepend() { |