Reduce exec and fstat overhead for non-build targets.
This is mostly targetting 'make showconfig' and 'make test-system-*' for the benefit of makeman and universe-one-clang work. Sponsored by: Dell EMC
This commit is contained in:
@@ -81,7 +81,8 @@ all: beforebuild .WAIT
|
||||
.if ${MK_META_MODE} == "yes"
|
||||
.if !exists(/dev/filemon) && \
|
||||
${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !defined(NO_FILEMON) && \
|
||||
!make(showconfig) && !make(print-dir) && ${.MAKEFLAGS:M-V} == ""
|
||||
!make(test-system-*) && !make(showconfig) && !make(print-dir) && \
|
||||
${.MAKEFLAGS:M-V} == ""
|
||||
.warning The filemon module (/dev/filemon) is not loaded.
|
||||
.warning META_MODE is less useful for incremental builds without filemon.
|
||||
.warning 'kldload filemon' or pass -DNO_FILEMON to suppress this warning.
|
||||
|
||||
Reference in New Issue
Block a user