Ver código fonte

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>
(cherry picked from commit b4ab45a5c1db05f84efb5f3b6909982263afb1d4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Florian Fainelli 2 anos atrás
pai
commit
36f6034477
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      package/linux-tools/linux-tool-perf.mk.in

+ 2 - 1
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