opnsense-src/sys/modules/cc/Makefile
Michael Tuexen be78a31188 tcp: fix build issue for some cc modules
The TCP_HHOOK option was moved from opt_inet.h to opt_global.h in
https://cgit.FreeBSD.org/src/commit/?id=e68b3792440cac248347afe08ba5881a00ba6523
The corresponding changes in two Makefiles were missed, which resulted
in not building cc_cdg, cc_chd, cc_hd, and cc_vegas anymore.

Reported by:		void@f-m.fm
Reviewed by:		rrs, rscheff
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D41010
2023-07-13 18:56:25 +02:00

21 lines
427 B
Makefile

# $FreeBSD$
SUBDIR= cc_newreno \
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 if $OPT_GLOBAL does contain
# the TCP_HHOOK option.
.if defined(ALL_MODULES) || ${OPT_GLOBAL:UTCP_HHOOK:MTCP_HHOOK} != ""
SUBDIR+= \
cc_cdg \
cc_chd \
cc_hd \
cc_vegas
.endif
.include <bsd.subdir.mk>