svn commit: r316038 - in head/sys/modules: . tcp
Michael Tuexen
tuexen at FreeBSD.org
Mon Mar 27 18:20:34 UTC 2017
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>
More information about the svn-src-all
mailing list