summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2023-11-07 10:25:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-09 16:57:26 +0000
commit4a9824a209570d252298dfb33f7e4d3122ca567c (patch)
tree15c573e8bd95bdde796e4f80c0d9988671ae46a0
parent61e7c1d99c2d11abf12a33f443b7949ff8bac735 (diff)
downloadpoky-4a9824a209570d252298dfb33f7e4d3122ca567c.tar.gz
perf: add jevents PACKAGECONFIG item
Building for an arm64 target, e.g. qemuarm64 or a raspberrypi3, without "python" in PACKAGECONFIG, results in | Makefile.config:892: *** ERROR: No python interpreter needed for jevents generation. Install python or build with NO_JEVENTS=1.. Stop. (From OE-Core rev: df1905294690682496d8f8e8284964ab897f0cd4) Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/perf/perf.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index a392166e73..5672f7d338 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -28,6 +28,9 @@ PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
28PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native" 28PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
29PACKAGECONFIG[cap] = ",,libcap" 29PACKAGECONFIG[cap] = ",,libcap"
30PACKAGECONFIG[libtraceevent] = ",NO_LIBTRACEEVENT=1,libtraceevent" 30PACKAGECONFIG[libtraceevent] = ",NO_LIBTRACEEVENT=1,libtraceevent"
31# jevents requires host python for generating a .c file, but is
32# unrelated to the python item.
33PACKAGECONFIG[jevents] = ",NO_JEVENTS=1,python3-native"
31# Arm CoreSight 34# Arm CoreSight
32PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd" 35PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd"
33PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4" 36PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4"