summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2020-07-13 16:44:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-18 11:06:27 +0100
commit2e9c2f054730069554c9102333aa779c214d8b90 (patch)
treef0d656a11229cd8ff4e802b97a03a45186ac97cc /meta/recipes-kernel/perf
parent15b2c666cbffa8de040561b9d5e70793d147d1e9 (diff)
downloadopenembedded-core-contrib-2e9c2f054730069554c9102333aa779c214d8b90.tar.gz
perf: add PACKAGECONFIG for CoreSight support
meta-arm has a recipe for OpenCSD, the CoreSight Trace Decoder library, so add a PACKAGECONFIG so that users can enable the use of CoreSight in perf builds. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r--meta/recipes-kernel/perf/perf.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index c4b7b77e99..cf95df710f 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -26,6 +26,8 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
PACKAGECONFIG[cap] = ",,libcap"
+# Arm CoreSight
+PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd"
# libunwind is not yet ported for some architectures
PACKAGECONFIG_remove_arc = "libunwind"