From b4ab45a5c1db05f84efb5f3b6909982263afb1d4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 21 Jul 2023 20:23:32 -0700 Subject: [PATCH] package/linux-tools: disable libtracevent detection Since upstream Linux commit 6898e60f709b0047206110d3ec9f4612210e3ff7 ("perf build: If libtraceevent isn't present error the build") present in Linux 6.4 and newer, Linux will fail to build if libtraceevent is not present. Since we do not currently have support for libtracevent in buildroot, pass NO_LIBTRACEVENT=1 to get perf to build again. Signed-off-by: Florian Fainelli Signed-off-by: Thomas Petazzoni --- package/linux-tools/linux-tool-perf.mk.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in index 122c7cbbc4..ee308a85df 100644 --- a/package/linux-tools/linux-tool-perf.mk.in +++ b/package/linux-tools/linux-tool-perf.mk.in @@ -27,7 +27,8 @@ PERF_MAKE_FLAGS = \ NO_GTK2=1 \ NO_LIBPERL=1 \ NO_LIBPYTHON=1 \ - NO_LIBBIONIC=1 + NO_LIBBIONIC=1 \ + NO_LIBTRACEEVENT=1 # We need to pass an argument to ld for setting the emulation when # building for MIPS architecture, otherwise the default one will always