aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/piglit/piglit_git.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/piglit/piglit_git.bbappend')
-rw-r--r--recipes-graphics/piglit/piglit_git.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-graphics/piglit/piglit_git.bbappend b/recipes-graphics/piglit/piglit_git.bbappend
new file mode 100644
index 00000000..316bec99
--- /dev/null
+++ b/recipes-graphics/piglit/piglit_git.bbappend
@@ -0,0 +1,7 @@
+DEPENDS_append_mx6 = " virtual/egl"
+
+# 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)}"