summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-25 05:13:15 +0000
committerngie <ngie@FreeBSD.org>2015-01-25 05:13:15 +0000
commit4e2ad7cd0b4ab8b426d8b7d16395312b9befc2ee (patch)
tree70dd2f52ba6af0ef3df4ec7a8c850319aea7f509
parenteac68c5fc40633e827139fbe20ba05d0370361c6 (diff)
downloadFreeBSD-src-4e2ad7cd0b4ab8b426d8b7d16395312b9befc2ee.zip
FreeBSD-src-4e2ad7cd0b4ab8b426d8b7d16395312b9befc2ee.tar.gz
Build cuse(4) if MK_CUSE != no
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
-rw-r--r--sys/conf/kern.opts.mk1
-rw-r--r--sys/modules/Makefile5
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/conf/kern.opts.mk b/sys/conf/kern.opts.mk
index 8b35679..84e4e4f 100644
--- a/sys/conf/kern.opts.mk
+++ b/sys/conf/kern.opts.mk
@@ -27,6 +27,7 @@ __DEFAULT_YES_OPTIONS = \
CCD \
CDDL \
CRYPT \
+ CUSE \
FORMAT_EXTENSIONS \
INET \
INET6 \
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index aedb6d0..5c74856 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -86,7 +86,6 @@ SUBDIR= \
${_ct} \
${_ctau} \
ctl \
- cuse \
${_cxgb} \
${_cxgbe} \
dc \
@@ -393,6 +392,10 @@ _random= random
.endif
.endif
+.if ${MK_CUSE} != "no" || defined(ALL_MODULES)
+SUBDIR+= cuse
+.endif
+
.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \
defined(ALL_MODULES)
_carp= carp
OpenPOWER on IntegriCloud