[meta-freescale] [<meta-freescale][meta-fsl-arm][PATCH v4 2/8] weston: Add xwayland changes

Tom Hochstein tom.hochstein at freescale.com
Thu Dec 17 14:06:02 PST 2015


From: Neena Busireddy <neena.busireddy at freescale.com>

Configure weston to support XWayland backend.

Signed-off-by: Neena Busireddy <neena.busireddy at freescale.com>
Signed-off-by: Tom Hochstein <tom.hochstein at freescale.com>
---
 recipes-graphics/wayland/weston_%.bbappend | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
index a7496da..88bae58 100644
--- a/recipes-graphics/wayland/weston_%.bbappend
+++ b/recipes-graphics/wayland/weston_%.bbappend
@@ -2,9 +2,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI_append_mx6 = " file://0001-MGS-840-Add-i.MX6-support-for-weston.patch"
 
-PACKAGECONFIG_append_mx6q = " cairo-glesv2"
-PACKAGECONFIG_append_mx6dl = " cairo-glesv2"
-PACKAGECONFIG_append_mx6sx = " cairo-glesv2"
+XWAYLAND_PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)}"
+PACKAGECONFIG_append_mx6q = " cairo-glesv2 ${XWAYLAND_PACKAGECONFIG}"
+PACKAGECONFIG_append_mx6dl = " cairo-glesv2 ${XWAYLAND_PACKAGECONFIG}"
+PACKAGECONFIG_append_mx6sx = " cairo-glesv2 ${XWAYLAND_PACKAGECONFIG}"
+PACKAGECONFIG_append_mx6sl = " ${XWAYLAND_PACKAGECONFIG}"
 PACKAGECONFIG_remove_mx6sl = "egl"
 
 EXTRA_OECONF_append_mx6 = " \
-- 
2.1.4



More information about the meta-freescale mailing list