summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRogerio Nunes <rogerio.nunes@freescale.com>2014-01-23 20:20:49 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2014-01-23 23:31:59 -0200
commitc9a193e173751e2f9a059525041ed9a0ab95c2fc (patch)
tree1ecf7652ca1cf13a75f854ed9a83251d76eed389
parent92f8e39b8e886236a99a9e46416711b018e1b118 (diff)
downloadmeta-fsl-arm-c9a193e173751e2f9a059525041ed9a0ab95c2fc.tar.gz
piglit: Add Vivante GPU support
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@freescale.com>
-rw-r--r--recipes-graphics/piglit/piglit_git.bbappend5
1 files changed, 5 insertions, 0 deletions
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 @@
1# Provide the need flags and backend settings to work with Vivante GPU
2CFLAGS_append_mx6 = " -DLINUX \
3 ${@base_contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \
4 base_contains('DISTRO_FEATURES', 'wayland', \
5 '-DEGL_API_WL', '', d), d)}"