summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/modules/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 5a27fcd8ddc9..e3805d6c417f 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,12 +1,14 @@
# $FreeBSD$
-.if exists(${.CURDIR}/../opencrypto) && !defined(NOCRYPT)
+.if !defined(NOCRYPT) || defined(ALL_MODULES)
+.if exists(${.CURDIR}/../opencrypto)
_crypto= crypto
_cryptodev= cryptodev
.endif
-.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
+.if exists(${.CURDIR}/../crypto)
_random= random
.endif
+.endif
SUBDIR= accf_data \
accf_http \
@@ -145,11 +147,11 @@ SUBDIR= accf_data \
wlan \
xl
-.if defined(WANT_EXT2FS_MODULE)
+.if defined(WANT_EXT2FS_MODULE) || defined(ALL_MODULES)
SUBDIR+=ext2fs
.endif
-.if !defined(NO_IPFILTER)
+.if !defined(NO_IPFILTER) || defined(ALL_MODULES)
SUBDIR+=ipfilter
.endif
@@ -294,6 +296,10 @@ SUBDIR+=gem
SUBDIR+=hme
.endif
+.if defined(ALL_MODULES)
+SUBDIR+=ufs
+.endif
+
.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
SUBDIR=${MODULES_OVERRIDE}
.endif