Skip to contentSkip to conversation

weston: Fix weston window manager for i.MX 6UltraLite

PATCH New Tom Hochstein 1 participant 1 message Jun 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 weston: Fix weston window manager for i.MX 6UltraLite

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.

---
 recipes-graphics/wayland/weston_%.bbappend | 7 +++++++
 1 file changed, 7 insertions(+)
recipes-graphics/wayland/weston_%.bbappend +7 -0
index b2f4466..f7bfd35 100644
@@ -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" \
Signature · 1 line
1.9.1