aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-Fay.ORG>2024-05-15 00:16:10 +0000
committerWarner Losh <imp@FreeBSD.org>2024-05-21 03:13:24 +0000
commit040a7e0dcbc234aa66d0b4b53638db12b81a7b75 (patch)
tree3a0d1cd02efe8ef7f4c3d81cbb4d1313fd70e413
parentf30c2d86c39f8c3090e1f8967c13f2dd0d5d664b (diff)
sys/modules/dpdk_lpm4: do not build without INET
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1236 (cherry picked from commit 304a03275a65cf811fb6c06fa1c37783d07c99a4)
-rw-r--r--sys/modules/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index b6327ec224af..4b4534aee076 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -500,7 +500,7 @@ _ipfw_nptv6= ipfw_nptv6
_ipfilter= ipfilter
.endif
-.if ${MK_INET_SUPPORT} != "no" && ${KERN_OPTS:MFIB_ALGO}
+.if ${MK_INET_SUPPORT} != "no" && ${KERN_OPTS:MFIB_ALGO} && ${KERN_OPTS:MINET}
_dpdk_lpm4= dpdk_lpm4
_fib_dxr= fib_dxr
.endif