aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/packagegroups
diff options
context:
space:
mode:
authorJack Mitchell <jack.mitchell@dbbroadcast.co.uk>2012-10-29 09:28:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-02 16:15:28 +0000
commit9dd277e3276aef918e4bb84322043db0b4e68e11 (patch)
treee9581016283be8e773dd2331b08c147029750e21 /meta/recipes-core/packagegroups
parent1b41a4660d0dd8f1863bb94d08562927cc108ee1 (diff)
downloadopenembedded-core-contrib-9dd277e3276aef918e4bb84322043db0b4e68e11.tar.gz
openembedded-core-contrib-9dd277e3276aef918e4bb84322043db0b4e68e11.tar.bz2
openembedded-core-contrib-9dd277e3276aef918e4bb84322043db0b4e68e11.zip
packagegroup-core-tools-profile: include sysprof only if x11 is distro feature
Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/packagegroups')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index 369a64641ab..591f33f99b6 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -5,7 +5,7 @@
SUMMARY = "Profiling tools"
LICENSE = "MIT"
-PR = "r2"
+PR = "r3"
inherit packagegroup
@@ -16,12 +16,14 @@ RPROVIDES_${PN} = "task-core-tools-profile"
RREPLACES_${PN} = "task-core-tools-profile"
RCONFLICTS_${PN} = "task-core-tools-profile"
+PROFILE_TOOLS_X = "${@base_contains('DISTRO_FEATURES', 'x11', 'sysprof', '', d)}"
+
RRECOMMENDS_${PN} = "\
perf \
trace-cmd \
kernel-module-oprofile \
blktrace \
- sysprof \
+ ${PROFILE_TOOLS_X} \
"
PROFILETOOLS = "\