8014508: Fix log levels in make
authorerikj
Tue, 21 May 2013 13:18:28 +0200
changeset 17352 8b5c1e11c27b
parent 17346 f09ab0c41618
child 17353 85d7a82fdf4e
8014508: Fix log levels in make Reviewed-by: tbell
NewMakefile.gmk
common/autoconf/spec.gmk.in
--- a/NewMakefile.gmk	Wed Jul 05 18:55:08 2017 +0200
+++ b/NewMakefile.gmk	Tue May 21 13:18:28 2013 +0200
@@ -73,7 +73,7 @@
             grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
 
 $(all_phony_targets):
-	@$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) $(VERBOSE) VERBOSE=$(VERBOSE) $@) &&) true
+	@$(foreach spec,$(SPEC),($(MAKE) -f NewMakefile.gmk SPEC=$(spec) $(VERBOSE) VERBOSE=$(VERBOSE) LOG_LEVEL=$(LOG_LEVEL) $@) &&) true
 
     endif
 endif
--- a/common/autoconf/spec.gmk.in	Wed Jul 05 18:55:08 2017 +0200
+++ b/common/autoconf/spec.gmk.in	Tue May 21 13:18:28 2013 +0200
@@ -54,9 +54,9 @@
 
 MAKE:=@MAKE@
 
-# Pass along the verbosity setting.
+# Pass along the verbosity and log level settings.
 ifeq (,$(findstring VERBOSE=,$(MAKE)))
-    MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)"
+    MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" LOG_LEVEL="$(LOG_LEVEL)"
 endif
 
 # No implicit variables or rules!