[oe] [PATCH 2/4] efl: add wayland-packageconfig to defaults if wayland is in distro features
Andreas Müller
schnitzeltony at googlemail.com
Thu Oct 22 19:13:07 UTC 2015
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 at googlemail.com>
---
meta-efl/recipes-efl/efl/efl.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-efl/recipes-efl/efl/efl.inc b/meta-efl/recipes-efl/efl/efl.inc
index 3cbd04b..945ca6b 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"
--
2.1.0
More information about the Openembedded-devel
mailing list