summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-08-28 15:46:37 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-30 11:13:52 +0100
commit38d4672ee9fe2d9ef341875434562be8bca7d9bb (patch)
tree8ce54fe7d7368ed9d66cfe8bc989f527e7d1aad3 /meta/recipes-graphics
parentc5fdda293a8f0b18293295d05a33697e3b2f1877 (diff)
downloadopenembedded-core-contrib-38d4672ee9fe2d9ef341875434562be8bca7d9bb.tar.gz
openembedded-core-contrib-38d4672ee9fe2d9ef341875434562be8bca7d9bb.tar.bz2
openembedded-core-contrib-38d4672ee9fe2d9ef341875434562be8bca7d9bb.zip
xserver-xorg: Enable xwayland only with opengl
This is a bit academic as building with wayland without opengl should be uncommon: still, libepoxy needs opengl so we shouldn't depend on it without opengl. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 1650c7994c..863d80ce43 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -123,7 +123,7 @@ EXTRA_OECONF += "--with-fop=no \
OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xwayland', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'xwayland', '', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
"