aboutsummaryrefslogtreecommitdiffstats
path: root/meta-efl
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2015-10-22 21:13:07 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-10-26 21:37:37 +0100
commit55e19bceaf333ee4810a047d726d42a30f50320c (patch)
treea23e9f938ff604e3c6298462078ab4b32d39f018 /meta-efl
parented4ab0ce805ff940fb3e17e45315ed16bfc0461f (diff)
downloadmeta-openembedded-contrib-55e19bceaf333ee4810a047d726d42a30f50320c.tar.gz
efl: add wayland-packageconfig to defaults if wayland is in distro features
At least meta-fsl-arm supports either x11 or wayland - not both at the same time - for their gpu blobs. Selecting x11 only does not build wayland-egl and efl's configuration fails with: | checking whether to enable Wayland Egl rendering backend... yes | configure: error: Wayland Egl dependencies not found | Configure failed. The contents of all config.log files follows to aid debugging Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-efl')
-rw-r--r--meta-efl/recipes-efl/efl/efl.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-efl/recipes-efl/efl/efl.inc b/meta-efl/recipes-efl/efl/efl.inc
index 3cbd04b361..945ca6b015 100644
--- a/meta-efl/recipes-efl/efl/efl.inc
+++ b/meta-efl/recipes-efl/efl/efl.inc
@@ -51,7 +51,7 @@ EXTRA_OECONF_append_class-native = " \
--disable-image-loader-dds \
"
-PACKAGECONFIG ?= "wayland egl opengl-es gstreamer1 pulseaudio luajit"
+PACKAGECONFIG ?= "egl opengl-es gstreamer1 pulseaudio luajit ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
PACKAGECONFIG_class-native = "luajit"
PACKAGECONFIG[wayland] = "--enable-wayland --enable-wayland-ivi-shell,--disable-wayland --disable-wayland-ivi-shell,wayland"