aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRogerio Nunes <rogerio.nunes@freescale.com>2013-07-31 17:15:15 -0400
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-08-07 11:44:34 +0100
commit3974ebead1be20e3687ab66e8782da70118a3202 (patch)
tree07c02575a645221ba28ae60d58efa33c2c2137e1 /meta/recipes-core
parent0042a3230a0c3b983245aabad6fdc3b3d3fcc2cd (diff)
downloadopenembedded-core-3974ebead1be20e3687ab66e8782da70118a3202.tar.gz
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 master 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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb20
1 files changed, 12 insertions, 8 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
index 343ae1ccd6..1861ebea4c 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
@@ -24,24 +24,28 @@ KEXECTOOLS_powerpc ?= ""
KEXECTOOLS_e5500-64b ?= ""
KEXECTOOLS_aarch64 ?= ""
+X11TOOLS = "\
+ fstests \
+ owl-video \
+ mesa-demos \
+ x11perf \
+ xrestop \
+ xwininfo \
+ xprop \
+ xvideo-tests \
+ "
+
RDEPENDS_${PN} = "\
blktool \
- 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 \
ltp \
connman-client \
+ ${@base_contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
"