summaryrefslogtreecommitdiffstats
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 5c74856..7498dab 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
@@ -620,8 +624,11 @@ _qlxge= qlxge
_qlxgb= qlxgb
_qlxgbe= qlxgbe
_sfxge= sfxge
+
+.if ${MK_BHYVE} != "no" || defined(ALL_MODULES)
_vmm= vmm
.endif
+.endif
.if ${MACHINE_CPUARCH} == "i386"
# XXX some of these can move to the general case when de-i386'ed
OpenPOWER on IntegriCloud