aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-11-14 03:24:48 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-11-14 03:24:48 +0000
commit948f327ee41918b1480b603042bb5132d2dfde2b (patch)
tree73c0195871654bc1f573c3b791d924c42dadb7a5 /Makefile
parentca298cac31e76ace657fc7b28af03e02f7903e12 (diff)
downloadsrc-948f327ee41918b1480b603042bb5132d2dfde2b.tar.gz
src-948f327ee41918b1480b603042bb5132d2dfde2b.zip
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
Notes
Notes: svn path=/head/; revision=290816
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9d64e5044115..981e002f93b0 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