From: Rogerio Nunes Date: Fri, 24 Jan 2014 01:20:49 +0000 (-0500) Subject: piglit: Add Vivante GPU support X-Git-Tag: 2.1~1096 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6515bc20af4b9f0a133cf9bc66e60727299d731a;p=meta-freescale.git 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 --- diff --git a/meta-fsl-arm/recipes-graphics/piglit/piglit_git.bbappend b/meta-fsl-arm/recipes-graphics/piglit/piglit_git.bbappend new file mode 100644 index 00000000..f5e16b39 --- /dev/null +++ b/meta-fsl-arm/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)}"