perf script: Fix Python support when no libtraceevent
[platform/kernel/linux-starfive.git] / tools / perf / scripts / python / Perf-Trace-Util / Build
index d5fed4e..7d0e33c 100644 (file)
@@ -1,3 +1,3 @@
-perf-$(CONFIG_LIBTRACEEVENT) += Context.o
+perf-y += Context.o
 
 CFLAGS_Context.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs