diff options
| author | Jiri Olsa <jolsa@redhat.com> | 2013-12-19 08:42:00 -0500 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-19 14:18:08 -0500 |
| commit | b7248defce917acce74b338d69c2b8f600370213 (patch) | |
| tree | ee5d18f99dfc01a58988a2d2c8a359c00dac45f5 /tools | |
| parent | ee4ad93e82b8fd260ae618f6b0413cd321bc09cb (diff) | |
perf tools: Making QUIET_(CLEAN|INSTAL) variables global
Moving QUIET_(CLEAN|INSTAL) variables into:
tools/scripts/Makefile.include
to be usable by other tools. The change to use them in libtraceevent is
in following patches.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1387460527-15030-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/perf/config/utilities.mak | 7 | ||||
| -rw-r--r-- | tools/scripts/Makefile.include | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/tools/perf/config/utilities.mak b/tools/perf/config/utilities.mak index f168debc5be2..4d985e0f03f5 100644 --- a/tools/perf/config/utilities.mak +++ b/tools/perf/config/utilities.mak | |||
| @@ -178,10 +178,3 @@ endef | |||
| 178 | _ge_attempt = $(if $(get-executable),$(get-executable),$(_gea_warn)$(call _gea_err,$(2))) | 178 | _ge_attempt = $(if $(get-executable),$(get-executable),$(_gea_warn)$(call _gea_err,$(2))) |
| 179 | _gea_warn = $(warning The path '$(1)' is not executable.) | 179 | _gea_warn = $(warning The path '$(1)' is not executable.) |
| 180 | _gea_err = $(if $(1),$(error Please set '$(1)' appropriately)) | 180 | _gea_err = $(if $(1),$(error Please set '$(1)' appropriately)) |
| 181 | |||
| 182 | ifneq ($(findstring $(MAKEFLAGS),s),s) | ||
| 183 | ifneq ($(V),1) | ||
| 184 | QUIET_CLEAN = @printf ' CLEAN %s\n' $1; | ||
| 185 | QUIET_INSTALL = @printf ' INSTALL %s\n' $1; | ||
| 186 | endif | ||
| 187 | endif | ||
diff --git a/tools/scripts/Makefile.include b/tools/scripts/Makefile.include index ee76544deecb..e4cfbedcaf11 100644 --- a/tools/scripts/Makefile.include +++ b/tools/scripts/Makefile.include | |||
| @@ -76,5 +76,8 @@ ifneq ($(findstring $(MAKEFLAGS),s),s) | |||
| 76 | +@echo ' DESCEND '$(1); \ | 76 | +@echo ' DESCEND '$(1); \ |
| 77 | mkdir -p $(OUTPUT)$(1) && \ | 77 | mkdir -p $(OUTPUT)$(1) && \ |
| 78 | $(MAKE) $(COMMAND_O) subdir=$(if $(subdir),$(subdir)/$(1),$(1)) $(PRINT_DIR) -C $(1) $(2) | 78 | $(MAKE) $(COMMAND_O) subdir=$(if $(subdir),$(subdir)/$(1),$(1)) $(PRINT_DIR) -C $(1) $(2) |
| 79 | |||
| 80 | QUIET_CLEAN = @printf ' CLEAN %s\n' $1; | ||
| 81 | QUIET_INSTALL = @printf ' INSTALL %s\n' $1; | ||
| 79 | endif | 82 | endif |
| 80 | endif | 83 | endif |
