summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2015-11-14 03:24:48 +0000
committersjg <sjg@FreeBSD.org>2015-11-14 03:24:48 +0000
commit206f180a1a54c2b54483305dead55d00a8a6e07d (patch)
tree73c0195871654bc1f573c3b791d924c42dadb7a5 /Makefile
parent1e6b7d5f969b7725298c399d18aa919d4b089bf7 (diff)
downloadFreeBSD-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 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9d64e50..981e002 100644
--- a/Makefile
+++ b/Makefile
@@ -106,7 +106,7 @@
# Note: we use this awkward construct to be compatible with FreeBSD's
# old make used in 10.0 and 9.2 and earlier.
-.if defined(MK_META_MODE) && ${MK_META_MODE} == "yes" && !make(showconfig)
+.if defined(MK_DIRDEPS_BUILD) && ${MK_DIRDEPS_BUILD} == "yes" && !make(showconfig)
# targets/Makefile plays the role of top-level
.include "targets/Makefile"
.else
@@ -498,15 +498,15 @@ buildLINT:
# This makefile does not run in meta mode
.MAKE.MODE= normal
# Normally the things we run from here don't either.
-# Using -DWITH_META_FILES
+# Using -DWITH_META_MODE
# we can buildworld with meta files created which are useful
# for debugging, but without any of the rest of a meta mode build.
-MK_META_MODE= no
+MK_DIRDEPS_BUILD= no
MK_STAGING= no
# tell meta.autodep.mk to not even think about updating anything.
UPDATE_DEPENDFILE= NO
.if !make(showconfig)
-.export MK_META_MODE MK_STAGING UPDATE_DEPENDFILE
+.export MK_DIRDEPS_BUILD MK_STAGING UPDATE_DEPENDFILE
.endif
.if make(universe)
@@ -516,4 +516,4 @@ MAKE_JOB_ERROR_TOKEN= no
.endif
.endif # bmake
-.endif # META_MODE
+.endif # DIRDEPS_BUILD
OpenPOWER on IntegriCloud