diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2023-11-07 10:25:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-09 16:57:26 +0000 |
commit | 4a9824a209570d252298dfb33f7e4d3122ca567c (patch) | |
tree | 15c573e8bd95bdde796e4f80c0d9988671ae46a0 /meta | |
parent | 61e7c1d99c2d11abf12a33f443b7949ff8bac735 (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 3 |
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" | |||
28 | PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native" | 28 | PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native" |
29 | PACKAGECONFIG[cap] = ",,libcap" | 29 | PACKAGECONFIG[cap] = ",,libcap" |
30 | PACKAGECONFIG[libtraceevent] = ",NO_LIBTRACEEVENT=1,libtraceevent" | 30 | PACKAGECONFIG[libtraceevent] = ",NO_LIBTRACEEVENT=1,libtraceevent" |
31 | # jevents requires host python for generating a .c file, but is | ||
32 | # unrelated to the python item. | ||
33 | PACKAGECONFIG[jevents] = ",NO_JEVENTS=1,python3-native" | ||
31 | # Arm CoreSight | 34 | # Arm CoreSight |
32 | PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd" | 35 | PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd" |
33 | PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4" | 36 | PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4" |