svn commit: r202448 - head/sys/modules
Antoine Brodin
antoine at FreeBSD.org
Sat Jan 16 17:08:22 UTC 2010
Author: antoine
Date: Sat Jan 16 17:08:22 2010
New Revision: 202448
URL: http://svn.freebsd.org/changeset/base/202448
Log:
Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf
Submitted by: bf
MFC after: 2 weeks
Modified:
head/sys/modules/Makefile
Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile Sat Jan 16 17:05:27 2010 (r202447)
+++ head/sys/modules/Makefile Sat Jan 16 17:08:22 2010 (r202448)
@@ -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
More information about the svn-src-head
mailing list