From: Rasmus Villemoes Date: Tue, 7 Nov 2023 09:25:57 +0000 (+0100) Subject: perf: add jevents PACKAGECONFIG item X-Git-Tag: yocto-5.2~4619 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df1905294690682496d8f8e8284964ab897f0cd4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Rasmus Villemoes Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index a392166e738..5672f7d3381 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" PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native" PACKAGECONFIG[cap] = ",,libcap" PACKAGECONFIG[libtraceevent] = ",NO_LIBTRACEEVENT=1,libtraceevent" +# jevents requires host python for generating a .c file, but is +# unrelated to the python item. +PACKAGECONFIG[jevents] = ",NO_JEVENTS=1,python3-native" # Arm CoreSight PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd" PACKAGECONFIG[pfm4] = ",NO_LIBPFM4=1,libpfm4"