From patchwork Fri Oct 26 13:37:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/3] packagegroup-core-tools-profile: include sysprof only if x11 is distro feature Date: Fri, 26 Oct 2012 13:37:24 -0000 From: ml@communistcode.co.uk X-Patchwork-Id: 38601 Message-Id: <1351258645-14649-3-git-send-email-ml@communistcode.co.uk> To: openembedded-core@lists.openembedded.org Cc: Jack Mitchell From: Jack Mitchell Signed-off-by: Jack Mitchell --- meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb index 369a646..2d37eb8 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb @@ -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 = "\