Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 18:20:32 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316038 - in head/sys/modules: . tcp
Message-ID:  <201703271820.v2RIKW9E014994@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Mon Mar 27 18:20:32 2017
New Revision: 316038
URL: https://svnweb.freebsd.org/changeset/base/316038

Log:
  Tweak the Makefiles a bit to allow using "tcp" in MODULES_OVERRIDE
  to build the tcp modules.
  
  Sponsored by:	Netflix, Inc.

Added:
  head/sys/modules/tcp/Makefile   (contents, props changed)
Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Mon Mar 27 17:27:46 2017	(r316037)
+++ head/sys/modules/Makefile	Mon Mar 27 18:20:32 2017	(r316038)
@@ -355,9 +355,8 @@ SUBDIR=	\
 	${_sym} \
 	${_syscons} \
 	sysvipc \
+	tcp \
 	${_ti} \
-	${_tcp_fastpath} \
-	${_tcpmd5} \
 	tests/framework \
 	tests/callout_test \
 	tl \
@@ -437,10 +436,6 @@ _random_other=	random_other
 SUBDIR+=	cuse
 .endif
 
-.if ${MK_EXTRA_TCP_STACKS} != "no" || defined(ALL_MODULES)
-_tcp_fastpath=	tcp/fastpath
-.endif
-
 .if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \
 	defined(ALL_MODULES)
 _carp=		carp
@@ -450,7 +445,6 @@ _if_gif=	if_gif
 _if_gre=	if_gre
 .if ${MK_IPSEC_SUPPORT} != "no"
 _ipsec=		ipsec
-_tcpmd5=	tcp/tcpmd5
 .endif
 .endif
 

Added: head/sys/modules/tcp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/tcp/Makefile	Mon Mar 27 18:20:32 2017	(r316038)
@@ -0,0 +1,23 @@
+#
+# $FreeBSD$
+#
+
+SYSDIR?=${SRCTOP}/sys
+.include "${SYSDIR}/conf/kern.opts.mk"
+
+SUBDIR=	\
+	${_tcp_fastpath} \
+	${_tcpmd5} \
+
+.if ${MK_EXTRA_TCP_STACKS} != "no" || defined(ALL_MODULES)
+_tcp_fastpath=	fastpath
+.endif
+
+.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \
+	defined(ALL_MODULES)
+.if ${MK_IPSEC_SUPPORT} != "no"
+_tcpmd5=	tcpmd5
+.endif
+.endif
+
+.include <bsd.subdir.mk>



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