packagegroup-core-tools-testapps: Move GLTOOLS to X11GLTOOLS

piglit and mesa-demos are not buildable in x11-less distros so we must
to add those only when opengl and x11 DISTRO_FEATURES are available.

(From OE-Core rev: ab0bb02d410e4f0713e75192eb217991b3f672aa)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Otavio Salvador 2014-03-31 11:03:09 -03:00 committed by Richard Purdie
parent 8210928e84
commit cb0bb7c823
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ KEXECTOOLS_powerpc ?= ""
KEXECTOOLS_e5500-64b ?= ""
KEXECTOOLS_aarch64 ?= ""
GLTOOLS = "\
X11GLTOOLS = "\
mesa-demos \
piglit \
"
@ -58,6 +58,6 @@ RDEPENDS_${PN} = "\
connman-tests \
connman-client \
${@base_contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
${@base_contains('DISTRO_FEATURES', 'opengl', "${GLTOOLS}", "", d)} \
${@base_contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \
${@base_contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \
"