summaryrefslogtreecommitdiffstats
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 @@
1DEPENDS_append_mx6 = " virtual/egl"
2
3# Provide the need flags and backend settings to work with Vivante GPU
4CFLAGS_append_mx6 = " -DLINUX \
5 ${@base_contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \
6 base_contains('DISTRO_FEATURES', 'wayland', \
7 '-DEGL_API_WL', '', d), d)}"