aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Build
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/Build')
-rw-r--r--tools/perf/Build3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Build b/tools/perf/Build
index 133ec649e5a2..976e03849f6d 100644
--- a/tools/perf/Build
+++ b/tools/perf/Build
@@ -25,12 +25,15 @@ perf-$(CONFIG_LIBELF) += builtin-probe.o
25perf-y += bench/ 25perf-y += bench/
26perf-y += tests/ 26perf-y += tests/
27 27
28perf-y += perf.o
29
28paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" 30paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
29paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))" 31paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
30paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))" 32paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
31 33
32CFLAGS_builtin-help.o += $(paths) 34CFLAGS_builtin-help.o += $(paths)
33CFLAGS_builtin-timechart.o += $(paths) 35CFLAGS_builtin-timechart.o += $(paths)
36CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" -include $(OUTPUT)PERF-VERSION-FILE
34 37
35libperf-y += util/ 38libperf-y += util/
36libperf-y += arch/ 39libperf-y += arch/