aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/Build
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2014-12-30 17:09:15 +0100
committerArnaldo Carvalho de Melo <[email protected]>2015-02-12 13:11:37 -0300
commitcb4e67fdee46116d6ec5ad37316cf7ff35ad1d7c (patch)
treef80546bcbeffb920f53d45ef3c9e350e69475159 /tools/perf/Build
parent1571b695053c4ccad66c5151d78247a6590338d6 (diff)
perf build: Add perf.o object building
Move the perf object building under build framework to be included in the perf build object. Signed-off-by: Jiri Olsa <[email protected]> Tested-by: Sukadev Bhattiprolu <[email protected]> Tested-by: Will Deacon <[email protected]> Cc: Alexis Berlemont <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Corey Ashford <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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
perf-y += bench/
perf-y += tests/
+perf-y += perf.o
+
paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
CFLAGS_builtin-help.o += $(paths)
CFLAGS_builtin-timechart.o += $(paths)
+CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" -include $(OUTPUT)PERF-VERSION-FILE
libperf-y += util/
libperf-y += arch/