diff options
author | Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> | 2012-10-29 09:28:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:18:26 +0000 |
commit | 627fd60c8c01bbc14ad375f6aa195469eab73d86 (patch) | |
tree | 7d25efacf6ff3e5dd5287ee6a2c07c15737c3fe4 /meta/recipes-core | |
parent | 141ecebf2e0fbeaa737cb4ff07371e5bbca95e7b (diff) | |
download | poky-627fd60c8c01bbc14ad375f6aa195469eab73d86.tar.gz |
packagegroup-core-tools-profile: include sysprof only if x11 is distro feature
(From OE-Core rev: 9dd277e3276aef918e4bb84322043db0b4e68e11)
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')
-rw-r--r-- | meta/recipes-core/packagegroups/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 369a64641a..591f33f99b 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 @@ | |||
5 | SUMMARY = "Profiling tools" | 5 | SUMMARY = "Profiling tools" |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | 7 | ||
8 | PR = "r2" | 8 | PR = "r3" |
9 | 9 | ||
10 | inherit packagegroup | 10 | inherit packagegroup |
11 | 11 | ||
@@ -16,12 +16,14 @@ RPROVIDES_${PN} = "task-core-tools-profile" | |||
16 | RREPLACES_${PN} = "task-core-tools-profile" | 16 | RREPLACES_${PN} = "task-core-tools-profile" |
17 | RCONFLICTS_${PN} = "task-core-tools-profile" | 17 | RCONFLICTS_${PN} = "task-core-tools-profile" |
18 | 18 | ||
19 | PROFILE_TOOLS_X = "${@base_contains('DISTRO_FEATURES', 'x11', 'sysprof', '', d)}" | ||
20 | |||
19 | RRECOMMENDS_${PN} = "\ | 21 | RRECOMMENDS_${PN} = "\ |
20 | perf \ | 22 | perf \ |
21 | trace-cmd \ | 23 | trace-cmd \ |
22 | kernel-module-oprofile \ | 24 | kernel-module-oprofile \ |
23 | blktrace \ | 25 | blktrace \ |
24 | sysprof \ | 26 | ${PROFILE_TOOLS_X} \ |
25 | " | 27 | " |
26 | 28 | ||
27 | PROFILETOOLS = "\ | 29 | PROFILETOOLS = "\ |