[meta-freescale] [meta-fsl-arm][PATCH] weston: Fix weston window manager for i.MX 6UltraLite

Tom Hochstein tom.hochstein at nxp.com
Mon Jun 13 11:14:39 PDT 2016


The weston window manager failed to start on i.MX 6UltraLite EVK.

6UL has no GPU, so we need to use pixman. Fixed by removing
EGL/GLES support, and by configuring to use Framebuffer backend
as native.

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
 recipes-graphics/wayland/weston_%.bbappend | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
index b2f4466..f7bfd35 100644
--- a/recipes-graphics/wayland/weston_%.bbappend
+++ b/recipes-graphics/wayland/weston_%.bbappend
@@ -12,12 +12,19 @@ PACKAGECONFIG_append_mx6q = " cairo-glesv2"
 PACKAGECONFIG_append_mx6dl = " cairo-glesv2"
 PACKAGECONFIG_append_mx6sx = " cairo-glesv2"
 PACKAGECONFIG_remove_mx6sl = "egl"
+PACKAGECONFIG_remove_mx6ul = "egl"
 
 EXTRA_OECONF_append_mx6 = " \
     --disable-libunwind \
     --disable-xwayland-test \
     WESTON_NATIVE_BACKEND=fbdev-backend.so \
 "
+EXTRA_OECONF_append_mx6ul = " \
+    --disable-libunwind \
+    --disable-xwayland-test \
+    WESTON_NATIVE_BACKEND=fbdev-backend.so \
+"
+
 EXTRA_OEMAKE_append_mx6 = " \
     COMPOSITOR_CFLAGS="-I ${STAGING_INCDIR}/pixman-1 -DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \
     FB_COMPOSITOR_CFLAGS="-DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \
-- 
1.9.1



More information about the meta-freescale mailing list