aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-06-14 16:20:25 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-06-14 16:20:25 +0000
commit29f227c1445a0cf9c7769a3f69be5db48b6e90fc (patch)
treef899dc1aed131b63d0761330f3ab725fca00cc16 /tools
parentb8ef21b88a8c7ae04e7831f24b0dd5680dfef426 (diff)
downloadsrc-29f227c1445a0cf9c7769a3f69be5db48b6e90fc.tar.gz
src-29f227c1445a0cf9c7769a3f69be5db48b6e90fc.zip
WITH_META_MODE: Enable printing of some of make's environment on error.
This will print a set of variables from make on error using MAKE_PRINT_VAR_ON_ERROR. It is already enabled for the DIRDEPS_BUILD. It may make sense to enable this in the non-meta mode as well once people are more used to its more verbose error output. This makes it much simpler to see which .meta file is used when a command files so that it may be inspected for the build command. Suggested by: sjg Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=301889
Diffstat (limited to 'tools')
-rw-r--r--tools/build/options/WITH_META_MODE3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build/options/WITH_META_MODE b/tools/build/options/WITH_META_MODE
index 65595ac1c4d8..9f7badee5961 100644
--- a/tools/build/options/WITH_META_MODE
+++ b/tools/build/options/WITH_META_MODE
@@ -41,6 +41,9 @@ The meta files can also be useful for debugging.
The build will hide commands ran unless
.Va NO_SILENT
is defined.
+Errors will cause
+.Xr make 1
+to show some of its environment for further debugging.
.Pp
The build operates as it normally would otherwise.
This option originally invoked a different build system but that was renamed