summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2010-01-16 17:08:22 +0000
committerantoine <antoine@FreeBSD.org>2010-01-16 17:08:22 +0000
commit8f3c3cadff9646a57479b4b4a0673e6f1b2540f4 (patch)
tree35d9ad2e7c53e66b7ddfb8f77abaaacf80682240 /sys/modules
parent659d6713f842504f574711d0f89218e557b49e15 (diff)
downloadFreeBSD-src-8f3c3cadff9646a57479b4b4a0673e6f1b2540f4.zip
FreeBSD-src-8f3c3cadff9646a57479b4b4a0673e6f1b2540f4.tar.gz
Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf
Submitted by: bf MFC after: 2 weeks
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index c693569..fbd4941 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -192,7 +192,7 @@ SUBDIR= ${_3dfx} \
${_ncp} \
${_ncv} \
${_ndis} \
- netgraph \
+ ${_netgraph} \
${_nfe} \
nfscl \
nfsclient \
@@ -327,6 +327,10 @@ _random= random
_ipfilter= ipfilter
.endif
+.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
+_netgraph= netgraph
+.endif
+
.if ${MK_PF} != "no" || defined(ALL_MODULES)
_pf= pf
_pflog= pflog
OpenPOWER on IntegriCloud