diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-01-10 15:43:32 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-02-12 09:24:46 -0500 |
commit | 6dd280cdb8a2cf53deacd6240707ec2f22222b20 (patch) | |
tree | 4580e0b56d6ed4d01e2cc1657d9dc9a6b8f67511 /tools/perf/Makefile.perf | |
parent | 885e00be17c07ffb517d471bf39c8acc44ef87a9 (diff) |
perf build: Disable make's built-in rules
We don't use any built-in rules, so we can disable make's checks for
that and build faster.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Cc: Alexis Berlemont <alexis.berlemont@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-fr54ist3woy7efz6z3m720vb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile.perf')
-rw-r--r-- | tools/perf/Makefile.perf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index aa6a50447c32..0a256fe193ce 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf | |||
@@ -84,6 +84,10 @@ ifneq ($(OUTPUT),) | |||
84 | #$(info Determined 'OUTPUT' to be $(OUTPUT)) | 84 | #$(info Determined 'OUTPUT' to be $(OUTPUT)) |
85 | endif | 85 | endif |
86 | 86 | ||
87 | # Do not use make's built-in rules | ||
88 | # (this improves performance and avoids hard-to-debug behaviour); | ||
89 | MAKEFLAGS += -r | ||
90 | |||
87 | $(OUTPUT)PERF-VERSION-FILE: ../../.git/HEAD | 91 | $(OUTPUT)PERF-VERSION-FILE: ../../.git/HEAD |
88 | @$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT) | 92 | @$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT) |
89 | @touch $(OUTPUT)PERF-VERSION-FILE | 93 | @touch $(OUTPUT)PERF-VERSION-FILE |