summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2003-06-23 22:01:01 +0000
committeriedowse <iedowse@FreeBSD.org>2003-06-23 22:01:01 +0000
commitf0c290220a0d322d22ab9ae7f6fc24164ad033d0 (patch)
tree67d68822fbcff043034b14c470baf44abda46c3b /sys
parentb7c37682bcc54322db6a48a1b898d13ea2a4f774 (diff)
downloadFreeBSD-src-f0c290220a0d322d22ab9ae7f6fc24164ad033d0.zip
FreeBSD-src-f0c290220a0d322d22ab9ae7f6fc24164ad033d0.tar.gz
Include the ufs module if ALL_MODULES is defined so that it gets
built by LINT. Also override a number of knobs for enabling and disabling various modules in the ALL_MODULES case to further increase LINT's module coverage. Submitted by: ru
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 5a27fcd..e3805d6 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
OpenPOWER on IntegriCloud