From 03f5bcf460bb0f8133046ed1a0ee79d15274af6a Mon Sep 17 00:00:00 2001 From: sjg Date: Mon, 15 Jun 2015 21:09:18 +0000 Subject: Skip MAKE_PRINT_VAR_ON_ERROR unless we are doing META_MODE with all the recursion in normal build it is too much noise. --- share/mk/local.sys.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share/mk/local.sys.mk') diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk index 424a965..87f945e 100644 --- a/share/mk/local.sys.mk +++ b/share/mk/local.sys.mk @@ -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, -- cgit v1.1