Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf

Submitted by:	bf
MFC after:	2 weeks
This commit is contained in:
Antoine Brodin 2010-01-16 17:08:22 +00:00
parent 023b02dea7
commit abae4e8ac6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202448

View File

@ -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