diff options
author | antoine <antoine@FreeBSD.org> | 2010-01-30 15:28:14 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2010-01-30 15:28:14 +0000 |
commit | 9ea404a5e06beb6c2e09f632d259cd0ac0e9b0cc (patch) | |
tree | 663766ac94be433425b2e8046cfbf4502bd3de30 | |
parent | d2da3c0c0f21b8e1f5449dbe8fd8cf76af4bac1a (diff) | |
download | FreeBSD-src-9ea404a5e06beb6c2e09f632d259cd0ac0e9b0cc.zip FreeBSD-src-9ea404a5e06beb6c2e09f632d259cd0ac0e9b0cc.tar.gz |
MFC r202448 to stable/8:
Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf
Submitted by: bf
-rw-r--r-- | sys/modules/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 044976d..e76d63a 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -191,7 +191,7 @@ SUBDIR= ${_3dfx} \ ${_ncp} \ ${_ncv} \ ${_ndis} \ - netgraph \ + ${_netgraph} \ ${_nfe} \ nfscl \ nfsclient \ @@ -324,6 +324,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 |