diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-01-11 17:59:55 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-02-12 15:57:10 -0500 |
commit | ceed252fe0b8b7975845ed4cb9e6069d8a12f233 (patch) | |
tree | 3eaa44749004acc40ce1cbcbc2c8901c4b86f84d /tools/build | |
parent | 9244e2c673fb148abb7706e47b602d009c537c9b (diff) |
perf build: Display make commands on V=1
Get more verbose output wrt displaying executed commands from make.
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-68v67h59zoz7ilb1ggcuff3j@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/Makefile.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/build/Makefile.build b/tools/build/Makefile.build index b5ded207f49b..10df57237a66 100644 --- a/tools/build/Makefile.build +++ b/tools/build/Makefile.build | |||
@@ -13,8 +13,10 @@ __build: | |||
13 | 13 | ||
14 | ifeq ($(V),1) | 14 | ifeq ($(V),1) |
15 | quiet = | 15 | quiet = |
16 | Q = | ||
16 | else | 17 | else |
17 | quiet=quiet_ | 18 | quiet=quiet_ |
19 | Q=@ | ||
18 | endif | 20 | endif |
19 | 21 | ||
20 | build-dir := $(srctree)/tools/build | 22 | build-dir := $(srctree)/tools/build |
@@ -102,7 +104,7 @@ in-target := $(prefix)$(obj)-in.o | |||
102 | PHONY += $(subdir-y) | 104 | PHONY += $(subdir-y) |
103 | 105 | ||
104 | $(subdir-y): | 106 | $(subdir-y): |
105 | @$(MAKE) -f $(build-dir)/Makefile.build dir=$(dir)/$@ obj=$(obj) | 107 | $(Q)$(MAKE) -f $(build-dir)/Makefile.build dir=$(dir)/$@ obj=$(obj) |
106 | 108 | ||
107 | $(sort $(subdir-obj-y)): $(subdir-y) ; | 109 | $(sort $(subdir-obj-y)): $(subdir-y) ; |
108 | 110 | ||