packagegroup-core-tools-testapps: add Piglit

Respect the OpenGL distro feature and if it's enabled, pull in piglit and
mesa-tools.

(From OE-Core rev: cd61c62ed30694eeb82e88e058a3a3e1bfb06f78)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2014-01-14 15:19:32 +00:00
committed by Richard Purdie
parent a61beff329
commit cfa396ba66

View File

@@ -24,10 +24,14 @@ KEXECTOOLS_powerpc ?= ""
KEXECTOOLS_e5500-64b ?= ""
KEXECTOOLS_aarch64 ?= ""
GLTOOLS = "\
mesa-demos \
piglit \
"
X11TOOLS = "\
fstests \
owl-video \
mesa-demos \
x11perf \
xrestop \
xwininfo \
@@ -48,4 +52,5 @@ RDEPENDS_${PN} = "\
ltp \
connman-client \
${@base_contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
${@base_contains('DISTRO_FEATURES', 'opengl', "${GLTOOLS}", "", d)} \
"