From c89283ce26607bb43d880139d4d5e8039f863894 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 31 May 2016 22:37:11 +0000 Subject: [PATCH] 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 --- share/mk/sys.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 7d7cc62ec03..bea1c7156af 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -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 -- 2.45.2