aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2023-07-13 16:56:25 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2023-07-13 16:56:25 +0000
commitbe78a31188c530c93700396ecfdb5604a8f22fff (patch)
treef0d41e4bd3269d021ebd1706b1bdc51d73dd92e3 /sys/modules
parent1cd9788408aa9ea4fd0fbc3e06bd9a4eaf8d8d22 (diff)
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/cc/Makefile6
-rw-r--r--sys/modules/khelp/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/modules/cc/Makefile b/sys/modules/cc/Makefile
index 3f7110024722..b595cc204481 100644
--- a/sys/modules/cc/Makefile
+++ b/sys/modules/cc/Makefile
@@ -8,9 +8,9 @@ SUBDIR= cc_newreno \
# 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} != ""
+# 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 \
diff --git a/sys/modules/khelp/Makefile b/sys/modules/khelp/Makefile
index 256d8838c573..c01d61541062 100644
--- a/sys/modules/khelp/Makefile
+++ b/sys/modules/khelp/Makefile
@@ -4,9 +4,9 @@ SUBDIR=
# Do we have the TCP_HHOOK symbol defined? If not, there is no point in
# building this modules by default.
-# We will default to building this module unless $OPT_INET is defined
-# and does not contain the TCP_HHOOK option.
-.if defined(ALL_MODULES) || ${OPT_INET:UTCP_HHOOK:MTCP_HHOOK} != ""
+# We will default to building this module if $OPT_GLOBAL does contain
+# the TCP_HHOOK option.
+.if defined(ALL_MODULES) || ${OPT_GLOBAL:UTCP_HHOOK:MTCP_HHOOK} != ""
SUBDIR+= h_ertt
.endif