Skip to content

Commit b7248de

Browse files
Jiri Olsaacmel
authored andcommitted
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>
1 parent ee4ad93 commit b7248de

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

tools/perf/config/utilities.mak

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,3 @@ endef
178178
_ge_attempt = $(if $(get-executable),$(get-executable),$(_gea_warn)$(call _gea_err,$(2)))
179179
_gea_warn = $(warning The path '$(1)' is not executable.)
180180
_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

tools/scripts/Makefile.include

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,8 @@ ifneq ($(findstring $(MAKEFLAGS),s),s)
7676
+@echo ' DESCEND '$(1); \
7777
mkdir -p $(OUTPUT)$(1) && \
7878
$(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;
7982
endif
8083
endif

0 commit comments

Comments
 (0)