Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2010 17:08:22 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202448 - head/sys/modules
Message-ID:  <201001161708.o0GH8M88056896@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001161708.o0GH8M88056896>