summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/Build
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/scripts/Build')
-rw-r--r--tools/perf/scripts/Build4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/scripts/Build b/tools/perf/scripts/Build
index 68d4b54574ad..7d8e2e57faac 100644
--- a/tools/perf/scripts/Build
+++ b/tools/perf/scripts/Build
@@ -1,2 +1,4 @@
-perf-$(CONFIG_LIBPERL) += perl/Perf-Trace-Util/
+ifeq ($(CONFIG_LIBTRACEEVENT),y)
+ perf-$(CONFIG_LIBPERL) += perl/Perf-Trace-Util/
+endif
perf-$(CONFIG_LIBPYTHON) += python/Perf-Trace-Util/