diff options
| author | Jonathan T. Looney <jtl@FreeBSD.org> | 2016-10-12 02:16:42 +0000 |
|---|---|---|
| committer | Jonathan T. Looney <jtl@FreeBSD.org> | 2016-10-12 02:16:42 +0000 |
| commit | bd79708dbffde195226ade494aa72c345328e745 (patch) | |
| tree | 1b79edfb878106737ae2b44a56f602aa596ac1df /sys/modules/cc | |
| parent | 368bf0c2c6b2ddf304cc0463ae162399a706117b (diff) | |
Notes
Diffstat (limited to 'sys/modules/cc')
| -rw-r--r-- | sys/modules/cc/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/modules/cc/Makefile b/sys/modules/cc/Makefile index 7f4e94e659e1..ec89d89e8c80 100644 --- a/sys/modules/cc/Makefile +++ b/sys/modules/cc/Makefile @@ -1,11 +1,20 @@ # $FreeBSD$ -SUBDIR= cc_cdg \ - cc_chd \ - cc_cubic \ +SUBDIR= cc_cubic \ cc_dctcp \ + cc_htcp + + +# Do we have the TCP_HHOOK symbol defined? If not, there is no point in +# building these modules by default. +# We will default to building these modules unless $OPT_INET is defined +# and does not contain the TCP_HHOOK option. +.if defined(ALL_MODULES) || ${OPT_INET:UTCP_HHOOK:MTCP_HHOOK} != "" +SUBDIR+= \ + cc_cdg \ + cc_chd \ cc_hd \ - cc_htcp \ cc_vegas +.endif .include <bsd.subdir.mk> |
