[oe-commits] Jack Mitchell : packagegroup-core-tools-profile: include sysprof only if x11 is distro feature

git at git.openembedded.org git at git.openembedded.org
Tue Oct 30 11:07:09 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: a7f464d7486354105a4664b84895bbc72b725ec5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a7f464d7486354105a4664b84895bbc72b725ec5

Author: Jack Mitchell <jack.mitchell at dbbroadcast.co.uk>
Date:   Mon Oct 29 09:28:49 2012 +0000

packagegroup-core-tools-profile: include sysprof only if x11 is distro feature

Signed-off-by: Jack Mitchell <jack.mitchell at dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../packagegroup-core-tools-profile.bb             |    6 ++++--
 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 369a646..591f33f 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 = "\





More information about the Openembedded-commits mailing list