aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-Fay.ORG>2024-05-24 00:32:49 +0000
committerWarner Losh <imp@FreeBSD.org>2024-05-25 04:21:24 +0000
commit0e2ce866278bdaf0764db4578f5793283dd9afa4 (patch)
treeb8b2240bd4072ccef40b3b360575ab298498919a /sys/modules/Makefile
parent0cc8506c512481cf08af70c1c726062debbd70b1 (diff)
ipfw: don't build the module if INET not in kernel
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1255
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index ad274e7f7b47..54108097fe1d 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -490,7 +490,7 @@ _sctp= sctp
_if_stf= if_stf
.endif
-.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES)
+.if (${KERN_OPTS:MINET} && ${MK_INET_SUPPORT} != "no") || defined(ALL_MODULES)
_if_me= if_me
_ipfw= ipfw
.if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES)