WITH_META_MODE: Require filemon(4) be loaded.

Since META_MODE is being sold and used as a working incremental build, it won't
make much sense if filemon data is excluded.  There is no way to recover
from that in a subsequent build.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-05-31 22:37:11 +00:00
parent 999dd0704f
commit 6c2e875629

View File

@ -52,6 +52,9 @@ META_MODE+= meta verbose
META_MODE+= silent=yes
.endif
.if !exists(/dev/filemon)
.if ${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !defined(NO_FILEMON)
.error ${.newline}ERROR: The filemon module (/dev/filemon) is not loaded.
.endif
META_MODE+= nofilemon
.endif
.endif