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 <f.fainelli@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Florian Fainelli 2023-07-21 20:23:32 -07:00 committed by Thomas Petazzoni
parent 38f00e4935
commit b4ab45a5c1

View File

@ -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