diff options
author | sjg <sjg@FreeBSD.org> | 2015-11-14 03:24:48 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-11-14 03:24:48 +0000 |
commit | 206f180a1a54c2b54483305dead55d00a8a6e07d (patch) | |
tree | 73c0195871654bc1f573c3b791d924c42dadb7a5 /tools/build | |
parent | 1e6b7d5f969b7725298c399d18aa919d4b089bf7 (diff) | |
download | FreeBSD-src-206f180a1a54c2b54483305dead55d00a8a6e07d.zip FreeBSD-src-206f180a1a54c2b54483305dead55d00a8a6e07d.tar.gz |
Rename META_MODE option to DIRDEPS_BUILD
This allows META_FILES option to be renamed META_MODE.
Also add META_COOKIE_TOUCH for use in targets that can benefit
from a cookie when in meta mode.
Differential Revision: https://reviews.freebsd.org/D4153
Reviewed by: bdrewery
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/options/WITH_DIRDEPS_BUILD | 37 | ||||
-rw-r--r-- | tools/build/options/WITH_DIRDEPS_CACHE | 2 | ||||
-rw-r--r-- | tools/build/options/WITH_META_FILES | 3 | ||||
-rw-r--r-- | tools/build/options/WITH_META_MODE | 38 | ||||
-rw-r--r-- | tools/build/options/WITH_STAGING | 2 | ||||
-rw-r--r-- | tools/build/options/WITH_SYSROOT | 2 |
6 files changed, 42 insertions, 42 deletions
diff --git a/tools/build/options/WITH_DIRDEPS_BUILD b/tools/build/options/WITH_DIRDEPS_BUILD new file mode 100644 index 0000000..eafe857 --- /dev/null +++ b/tools/build/options/WITH_DIRDEPS_BUILD @@ -0,0 +1,37 @@ +.\" $FreeBSD$ +Enable building in meta mode. +This is an experimental build feature. +For details see +http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm. +.Pp +The build is driven by dirdeps.mk using +.Va DIRDEPS +stored in +Makefile.depend files found in each directory. +.Pp +The build can be started from anywhere, and behaves the same. +The initial instance of +.Xr make 1 +recursively reads +.Va DIRDEPS +from Makefile.depend +computing a graph of tree dependencies from the current origin. +Setting +.Va NO_DIRDEPS +will skip checking dirdep dependencies and will only build in the current +directory. +.Pp +As each target is made +.Xr make 1 +produces a meta file which is used to capture (and compare) +the command line, +as well as any command output. +If +.Xr filemon 4 +is available the meta file will also capture a record of files +used to produce the target by tracking syscalls. +.Pp +The build will hide commands ran unless +.Va NO_SILENT +is defined. +.Pp diff --git a/tools/build/options/WITH_DIRDEPS_CACHE b/tools/build/options/WITH_DIRDEPS_CACHE index 7bb4622..e4fec02 100644 --- a/tools/build/options/WITH_DIRDEPS_CACHE +++ b/tools/build/options/WITH_DIRDEPS_CACHE @@ -2,4 +2,4 @@ Cache result of dirdeps.mk which can save significant time for subsequent builds. Depends on -.Va WITH_META_MODE . +.Va WITH_DIRDEPS_BUILD . diff --git a/tools/build/options/WITH_META_FILES b/tools/build/options/WITH_META_FILES deleted file mode 100644 index ab19d3d..0000000 --- a/tools/build/options/WITH_META_FILES +++ /dev/null @@ -1,3 +0,0 @@ -.\" $FreeBSD$ -Create meta files during non META_MODE build. -The meta files can be useful for debugging. diff --git a/tools/build/options/WITH_META_MODE b/tools/build/options/WITH_META_MODE index eafe857..6f2f296 100644 --- a/tools/build/options/WITH_META_MODE +++ b/tools/build/options/WITH_META_MODE @@ -1,37 +1,3 @@ .\" $FreeBSD$ -Enable building in meta mode. -This is an experimental build feature. -For details see -http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm. -.Pp -The build is driven by dirdeps.mk using -.Va DIRDEPS -stored in -Makefile.depend files found in each directory. -.Pp -The build can be started from anywhere, and behaves the same. -The initial instance of -.Xr make 1 -recursively reads -.Va DIRDEPS -from Makefile.depend -computing a graph of tree dependencies from the current origin. -Setting -.Va NO_DIRDEPS -will skip checking dirdep dependencies and will only build in the current -directory. -.Pp -As each target is made -.Xr make 1 -produces a meta file which is used to capture (and compare) -the command line, -as well as any command output. -If -.Xr filemon 4 -is available the meta file will also capture a record of files -used to produce the target by tracking syscalls. -.Pp -The build will hide commands ran unless -.Va NO_SILENT -is defined. -.Pp +Create meta files when not doing DIRDEPS_BUILD. +The meta files can be useful for debugging. diff --git a/tools/build/options/WITH_STAGING b/tools/build/options/WITH_STAGING index 36ec818..e6bb304 100644 --- a/tools/build/options/WITH_STAGING +++ b/tools/build/options/WITH_STAGING @@ -4,4 +4,4 @@ This can be best thought of as auto-install to .Va DESTDIR with some extra meta data to ensure dependencies can be tracked. Depends on -.Va WITH_META_MODE . +.Va WITH_DIRDEPS_BUILD . diff --git a/tools/build/options/WITH_SYSROOT b/tools/build/options/WITH_SYSROOT index 64c0fc8..49a1f36 100644 --- a/tools/build/options/WITH_SYSROOT +++ b/tools/build/options/WITH_SYSROOT @@ -1,4 +1,4 @@ .\" $FreeBSD$ Enable use of sysroot during build. Depends on -.Va WITH_META_MODE . +.Va WITH_DIRDEPS_BUILD . |