diff options
| -rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 6 |
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" | |||
| 10 | LICENSE = "GPL-2.0-only" | 10 | LICENSE = "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 |
| 13 | PACKAGECONFIG ??= "python tui libunwind libtraceevent zstd" | 13 | # Respect the coresight machine feature, but note this causes a |
| 14 | # dependency on meta-arm. | ||
| 15 | PACKAGECONFIG ??= "python tui libunwind libtraceevent zstd ${@bb.utils.filter('MACHINE_FEATURES', 'coresight', d)}" | ||
| 14 | PACKAGECONFIG[dwarf] = ",NO_DWARF=1" | 16 | PACKAGECONFIG[dwarf] = ",NO_DWARF=1" |
| 15 | PACKAGECONFIG[perl] = ",NO_LIBPERL=1,perl" | 17 | PACKAGECONFIG[perl] = ",NO_LIBPERL=1,perl" |
| 16 | PACKAGECONFIG[python] = ",NO_LIBPYTHON=1,python3 python3-setuptools-native" | 18 | PACKAGECONFIG[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. |
| 30 | PACKAGECONFIG[jevents] = ",NO_JEVENTS=1,python3-native" | 32 | PACKAGECONFIG[jevents] = ",NO_JEVENTS=1,python3-native" |
| 31 | # Arm CoreSight | 33 | # Arm CoreSight support, requires meta-arm for opencsd |
| 32 | PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd" | 34 | PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd" |
| 33 | PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4" | 35 | PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4" |
| 34 | PACKAGECONFIG[babeltrace] = ",NO_LIBBABELTRACE=1,babeltrace" | 36 | PACKAGECONFIG[babeltrace] = ",NO_LIBBABELTRACE=1,babeltrace" |
