Tweak the Makefiles a bit to allow using "tcp" in MODULES_OVERRIDE
to build the tcp modules. Sponsored by: Netflix, Inc.
This commit is contained in:
parent
e106234416
commit
4222f9685c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316038
@ -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
|
||||
|
||||
|
23
sys/modules/tcp/Makefile
Normal file
23
sys/modules/tcp/Makefile
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user