diff options
author | tuexen <tuexen@FreeBSD.org> | 2017-06-01 08:25:45 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2017-06-01 08:25:45 +0000 |
commit | 5e0e121be6212d776d98e80ff2df076a1f543b5c (patch) | |
tree | 6f73184bfafd7563945b5d8c776ae8d54f486e28 /sys | |
parent | 73f7af2e2188c4b65a9b9d40b0b73877826359cd (diff) | |
download | FreeBSD-src-5e0e121be6212d776d98e80ff2df076a1f543b5c.zip FreeBSD-src-5e0e121be6212d776d98e80ff2df076a1f543b5c.tar.gz |
MFC r316038:
Tweak the Makefiles a bit to allow using "tcp" in MODULES_OVERRIDE
to build the tcp modules.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/modules/Makefile | 8 | ||||
-rw-r--r-- | sys/modules/tcp/Makefile | 23 |
2 files changed, 24 insertions, 7 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index e95566b..efc9b25 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -365,9 +365,8 @@ SUBDIR= \ ${_sym} \ ${_syscons} \ sysvipc \ + tcp \ ${_ti} \ - ${_tcp_fastpath} \ - ${_tcpmd5} \ tl \ tmpfs \ ${_toecore} \ @@ -449,10 +448,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 @@ -463,7 +458,6 @@ _if_gre= if_gre _ipfw_pmod= ipfw_pmod .if ${MK_IPSEC_SUPPORT} != "no" _ipsec= ipsec -_tcpmd5= tcp/tcpmd5 .endif .endif diff --git a/sys/modules/tcp/Makefile b/sys/modules/tcp/Makefile new file mode 100644 index 0000000..a5ca903 --- /dev/null +++ b/sys/modules/tcp/Makefile @@ -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> |