aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston_%.bbappend
diff options
context:
space:
mode:
authorPrabhu Sundararaj <prabhu.sundararaj@freescale.com>2014-03-26 09:34:13 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2014-03-31 18:55:48 -0300
commita6cf9ac1bcc9f058e9ebd255ae6cf27f3dd593cf (patch)
tree019d0f128ebdda3ab608d8f9c9526e6e5b25fa6f /recipes-graphics/wayland/weston_%.bbappend
parent3ef38ef704b9d5a3c47a137202727edfcf873a2e (diff)
downloadmeta-fsl-arm-a6cf9ac1bcc9f058e9ebd255ae6cf27f3dd593cf.tar.gz
meta-fsl-arm-a6cf9ac1bcc9f058e9ebd255ae6cf27f3dd593cf.tar.bz2
meta-fsl-arm-a6cf9ac1bcc9f058e9ebd255ae6cf27f3dd593cf.zip
weston: Add i.MX6 GPU support
Add support for Vivante GPU acceleration for 2D and 3D. Change-Id: Iaa457ef324a98b73e1f35f47b9030c48f9e170c7 Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics/wayland/weston_%.bbappend')
-rw-r--r--recipes-graphics/wayland/weston_%.bbappend21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
new file mode 100644
index 0000000..0576b37
--- /dev/null
+++ b/recipes-graphics/wayland/weston_%.bbappend
@@ -0,0 +1,21 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://0001-Add-support-for-Vivante-FBDEV-EGL.patch \
+ file://0002-weston-Add-Vivante-2D-compositor-support.patch "
+
+PACKAGECONFIG_mx6 = "fbdev egl cairo-glesv2"
+
+EXTRA_OECONF_append_mx6 = " \
+ --disable-libunwind \
+ --disable-xwayland-test \
+ WESTON_NATIVE_BACKEND=fbdev-backend.so \
+"
+
+EXTRA_OEMAKE_append_mx6 = " \
+ COMPOSITOR_LIBS="-lGLESv2 -lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \
+ 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" \
+ FB_COMPOSITOR_LIBS="-lGLESv2 -lEGL -lwayland-server -lxkbcommon" \
+ SIMPLE_EGL_CLIENT_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \
+ CLIENT_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \
+"