From 92e0655db4e102be7c519d2177698f5b74086832 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Thu, 27 Nov 2014 09:50:12 +0000 Subject: [PATCH] Honor MK_AUTOFS --- sys/modules/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index f66d6c2a2fb7..34a66ff20eba 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -48,7 +48,7 @@ SUBDIR= \ ata \ ath \ ath_pci \ - autofs \ + ${_autofs} \ ${_auxio} \ ${_bce} \ bfe \ @@ -387,6 +387,10 @@ SUBDIR= \ ${_zfs} \ zlib +.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES) +_autofs= autofs +.endif + .if ${MK_BHYVE} != "no" || defined(ALL_MODULES) _vmm= vmm .endif