diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/kern.opts.mk | 1 | ||||
-rw-r--r-- | sys/modules/Makefile | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/conf/kern.opts.mk b/sys/conf/kern.opts.mk index dd74a17c3a53..81d91afc374e 100644 --- a/sys/conf/kern.opts.mk +++ b/sys/conf/kern.opts.mk @@ -23,6 +23,7 @@ # src tree. __DEFAULT_YES_OPTIONS = \ + AUTOFS \ BHYVE \ BLUETOOTH \ CCD \ diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 2a3da246735f..7498dab0792a 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -47,7 +47,7 @@ SUBDIR= \ ata \ ath \ ath_pci \ - autofs \ + ${_autofs} \ ${_auxio} \ ${_bce} \ bfe \ @@ -382,6 +382,10 @@ SUBDIR= \ ${_zfs} \ zlib +.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES) +_autofs= autofs +.endif + .if ${MK_CRYPT} != "no" || defined(ALL_MODULES) .if exists(${.CURDIR}/../opencrypto) _crypto= crypto |