svn commit: r284430 - head/share/mk

Simon J. Gerraty sjg at FreeBSD.org
Mon Jun 15 21:09:19 UTC 2015


Author: sjg
Date: Mon Jun 15 21:09:18 2015
New Revision: 284430
URL: https://svnweb.freebsd.org/changeset/base/284430

Log:
  Skip MAKE_PRINT_VAR_ON_ERROR unless we are doing META_MODE
  with all the recursion in normal build it is too much noise.

Modified:
  head/share/mk/local.sys.mk

Modified: head/share/mk/local.sys.mk
==============================================================================
--- head/share/mk/local.sys.mk	Mon Jun 15 21:08:08 2015	(r284429)
+++ head/share/mk/local.sys.mk	Mon Jun 15 21:09:18 2015	(r284430)
@@ -29,6 +29,7 @@ M_whence = ${M_type}:M/*:[1]
 # convert a path to a valid shell variable
 M_P2V = tu:C,[./-],_,g
 
+.if ${MK_META_MODE} == "yes"
 MAKE_PRINT_VAR_ON_ERROR+= \
 	.CURDIR \
 	.MAKE \
@@ -48,6 +49,7 @@ MAKE_PRINT_VAR_ON_ERROR+= \
 .if ${.MAKE.LEVEL} > 0
 MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFILES .PATH
 .endif
+.endif
 
 # these are handy
 # we can use this for a cheap timestamp at the start of a target's script,


More information about the svn-src-head mailing list