summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-kernel/perf/perf.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 4f29bd5bbc..b142b090b5 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -10,7 +10,9 @@ HOMEPAGE = "https://perf.wiki.kernel.org/index.php/Main_Page"
10LICENSE = "GPL-2.0-only" 10LICENSE = "GPL-2.0-only"
11 11
12# zstd is required for kernels 6.14+ when libelf-zstd is detected 12# zstd is required for kernels 6.14+ when libelf-zstd is detected
13PACKAGECONFIG ??= "python tui libunwind libtraceevent zstd" 13# Respect the coresight machine feature, but note this causes a
14# dependency on meta-arm.
15PACKAGECONFIG ??= "python tui libunwind libtraceevent zstd ${@bb.utils.filter('MACHINE_FEATURES', 'coresight', d)}"
14PACKAGECONFIG[dwarf] = ",NO_DWARF=1" 16PACKAGECONFIG[dwarf] = ",NO_DWARF=1"
15PACKAGECONFIG[perl] = ",NO_LIBPERL=1,perl" 17PACKAGECONFIG[perl] = ",NO_LIBPERL=1,perl"
16PACKAGECONFIG[python] = ",NO_LIBPYTHON=1,python3 python3-setuptools-native" 18PACKAGECONFIG[python] = ",NO_LIBPYTHON=1,python3 python3-setuptools-native"
@@ -28,7 +30,7 @@ PACKAGECONFIG[libtraceevent] = ",NO_LIBTRACEEVENT=1,libtraceevent"
28# jevents requires host python for generating a .c file, but is 30# jevents requires host python for generating a .c file, but is
29# unrelated to the python item. 31# unrelated to the python item.
30PACKAGECONFIG[jevents] = ",NO_JEVENTS=1,python3-native" 32PACKAGECONFIG[jevents] = ",NO_JEVENTS=1,python3-native"
31# Arm CoreSight 33# Arm CoreSight support, requires meta-arm for opencsd
32PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd" 34PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd"
33PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4" 35PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4"
34PACKAGECONFIG[babeltrace] = ",NO_LIBBABELTRACE=1,babeltrace" 36PACKAGECONFIG[babeltrace] = ",NO_LIBBABELTRACE=1,babeltrace"