packagegroup-core-tools-testapps: isolate x11 dependent tools

This patch groups x11 dependent tools in a separete variable,
and when DISTRO_FEATURES does not contain x11, this group is
not included in the package RDEPENDS.

(From OE-Core rev: 8253abeee10189b828336b791c3421d240a2e69b)

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Rogerio Nunes 2013-07-31 17:15:15 -04:00 committed by Richard Purdie
parent a326594597
commit 596a3b61c9
1 changed files with 14 additions and 10 deletions

View File

@ -24,24 +24,28 @@ KEXECTOOLS_powerpc ?= ""
KEXECTOOLS_e5500-64b ?= ""
KEXECTOOLS_aarch64 ?= ""
RDEPENDS_${PN} = "\
blktool \
X11TOOLS = "\
fstests \
tslib-calibrate \
tslib-tests \
lrzsz \
${KEXECTOOLS} \
alsa-utils-amixer \
alsa-utils-aplay \
owl-video \
gst-meta-video \
gst-meta-audio \
mesa-demos \
x11perf \
xrestop \
xwininfo \
xprop \
xvideo-tests \
"
RDEPENDS_${PN} = "\
blktool \
tslib-calibrate \
tslib-tests \
lrzsz \
${KEXECTOOLS} \
alsa-utils-amixer \
alsa-utils-aplay \
gst-meta-video \
gst-meta-audio \
ltp \
connman-client \
${@base_contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
"