[meta-freescale] [meta-fsl-arm][PATCH] piglit: Add Vivante GPU support
ronunes at gmail.com
ronunes at gmail.com
Thu Jan 23 17:20:49 PST 2014
From: Rogerio Nunes <rogerio.nunes at freescale.com>
This patch adds X11 and Wayland support with Vivante GPU.
In case 'x11' and 'wayland' distro features are both enabled,
defaults to X11.
Signed-off-by: Rogerio Nunes <rogerio.nunes at freescale.com>
---
recipes-graphics/piglit/piglit_git.bbappend | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 recipes-graphics/piglit/piglit_git.bbappend
diff --git a/recipes-graphics/piglit/piglit_git.bbappend b/recipes-graphics/piglit/piglit_git.bbappend
new file mode 100644
index 0000000..f5e16b3
--- /dev/null
+++ b/recipes-graphics/piglit/piglit_git.bbappend
@@ -0,0 +1,5 @@
+# Provide the need flags and backend settings to work with Vivante GPU
+CFLAGS_append_mx6 = " -DLINUX \
+ ${@base_contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \
+ base_contains('DISTRO_FEATURES', 'wayland', \
+ '-DEGL_API_WL', '', d), d)}"
--
1.8.3.2
More information about the meta-freescale
mailing list