summaryrefslogtreecommitdiffstats
path: root/share/mk/local.sys.mk
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2015-06-15 21:09:18 +0000
committersjg <sjg@FreeBSD.org>2015-06-15 21:09:18 +0000
commit03f5bcf460bb0f8133046ed1a0ee79d15274af6a (patch)
tree29f9a61f3ae382a150c88c6b06cdb6adb5c658b8 /share/mk/local.sys.mk
parent40b74694d51bc8b396194c2927a04e5abde6246e (diff)
downloadFreeBSD-src-03f5bcf460bb0f8133046ed1a0ee79d15274af6a.zip
FreeBSD-src-03f5bcf460bb0f8133046ed1a0ee79d15274af6a.tar.gz
Skip MAKE_PRINT_VAR_ON_ERROR unless we are doing META_MODE
with all the recursion in normal build it is too much noise.
Diffstat (limited to 'share/mk/local.sys.mk')
-rw-r--r--share/mk/local.sys.mk2
1 files changed, 2 insertions, 0 deletions
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,
OpenPOWER on IntegriCloud