Allow configuring .MAKE.MODE via META_MODE as meta.sys.mk does.
meta.sys.mk is only used for the DIRDEPS_BUILD. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
4e47b95cc9
commit
64923b1128
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296118
@ -45,12 +45,15 @@ __ENV_ONLY_OPTIONS:= \
|
||||
.if ${MK_DIRDEPS_BUILD} == "yes"
|
||||
.sinclude <meta.sys.mk>
|
||||
.elif ${MK_META_MODE} == "yes" && defined(.MAKEFLAGS) && ${.MAKEFLAGS:M-B} == ""
|
||||
.MAKE.MODE= meta verbose
|
||||
# verbose will show .MAKE.META.PREFIX for each target.
|
||||
META_MODE= meta verbose
|
||||
.if !exists(/dev/filemon)
|
||||
.MAKE.MODE+= nofilemon
|
||||
META_MODE+= nofilemon
|
||||
.endif
|
||||
.endif
|
||||
.MAKE.MODE?= normal
|
||||
META_MODE?= normal
|
||||
.export META_MODE
|
||||
.MAKE.MODE?= ${META_MODE}
|
||||
|
||||
.if ${MK_AUTO_OBJ} == "yes"
|
||||
# This needs to be done early - before .PATH is computed
|
||||
|
Loading…
Reference in New Issue
Block a user