Tue, 21 May 2013 13:18:28 +0200
8014508: Fix log levels in make
Reviewed-by: tbell
NewMakefile.gmk | file | annotate | diff | comparison | revisions | |
common/autoconf/spec.gmk.in | file | annotate | diff | comparison | revisions |
1.1 --- a/NewMakefile.gmk Thu May 09 10:03:08 2013 -0700 1.2 +++ b/NewMakefile.gmk Tue May 21 13:18:28 2013 +0200 1.3 @@ -73,7 +73,7 @@ 1.4 grep ^.PHONY: | head -n 1 | cut -d " " -f 2-))) 1.5 1.6 $(all_phony_targets): 1.7 - @$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) $(VERBOSE) VERBOSE=$(VERBOSE) $@) &&) true 1.8 + @$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) $(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true 1.9 1.10 endif 1.11 endif
2.1 --- a/common/autoconf/spec.gmk.in Thu May 09 10:03:08 2013 -0700 2.2 +++ b/common/autoconf/spec.gmk.in Tue May 21 13:18:28 2013 +0200 2.3 @@ -54,9 +54,9 @@ 2.4 2.5 MAKE:=@MAKE@ 2.6 2.7 -# Pass along the verbosity setting. 2.8 +# Pass along the verbosity and log level settings. 2.9 ifeq (,$(findstring VERBOSE=,$(MAKE))) 2.10 - MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" 2.11 + MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" LOG_LEVEL="$(LOG_LEVEL)" 2.12 endif 2.13 2.14 # No implicit variables or rules!