[PATCH] perf: disable llvm by default

Li Wang
2026-04-24T06:48:18Z

perf.bb does not include any script about llvm. for avoiding to enable
llvm option under uncommon condition, force to disable it.
Maybe a future improvement would be to add llvm function.

Signed-off-by: Li Wang <li.wang@windriver.com>
---
meta/recipes-kernel/perf/perf.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 7a58088462..f9e2b9f4ee 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -114,6 +114,7 @@ EXTRA_OEMAKE = '\
EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \
perfexecdir=${libexecdir} \
NO_GTK2=1 \
+ NO_LIBLLVM=1 \
${PACKAGECONFIG_CONFARGS} \
PKG_CONFIG=pkg-config \
TMPDIR="${B}" \
--
2.49.1