If the systemd DISTRO_FEATURE is enabled, then recommend systemd-analyze for
profiling boot performance.
(From OE-Core rev:
20d2fad0d08eb337fdc80385bce32469a97e988a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RCONFLICTS_${PN} = "task-core-tools-profile"
PROFILE_TOOLS_X = "${@base_contains('DISTRO_FEATURES', 'x11', 'sysprof', '', d)}"
+PROFILE_TOOLS_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)}"
RRECOMMENDS_${PN} = "\
perf \
kernel-module-oprofile \
blktrace \
${PROFILE_TOOLS_X} \
+ ${PROFILE_TOOLS_SYSTEMD} \
"
PROFILETOOLS = "\