aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-01-26 07:15:49 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-01-26 07:15:49 +0000
commitb3590423102f61128e44787ba449bf734a6f4a00 (patch)
tree8f70b3f4a2642311c997ba66a92785651afc0732 /sys/modules/Makefile
parent02629e469fe473d16d61ba41504a373a3b545250 (diff)
downloadsrc-b3590423102f61128e44787ba449bf734a6f4a00.tar.gz
src-b3590423102f61128e44787ba449bf734a6f4a00.zip
Add MK_AUTOFS knob for building and installing autofs(4), et al
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=277728
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile6
1 files changed, 5 insertions, 1 deletions
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