git: bfd248f59de3 - main - sys/amd64/conf/LINT-NOINET{6,}: don't set WITHOUT_INET{6,}_SUPPORT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 May 2024 04:25:11 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=bfd248f59de39715b28a469bcba39427a42a5383
commit bfd248f59de39715b28a469bcba39427a42a5383
Author: Lexi Winter <lexi@le-Fay.ORG>
AuthorDate: 2024-05-24 00:14:11 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-25 04:21:25 +0000
sys/amd64/conf/LINT-NOINET{6,}: don't set WITHOUT_INET{6,}_SUPPORT
Previously, it was necessary to set WITHOUT_INET_SUPPORT when building
the kernel without INET, and WITHOUT_INET6_SUPPORT when building the
kernel without INET6, or else the modules build would fail. The
LINT-NOINET and LINT-NOINET6 configs did this using makeoptions.
After recent changes, this is no longer required, so remove these
makeoptions. This avoids masking potential future build issues when
these aren't set.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1255
---
sys/amd64/conf/LINT-NOINET | 3 ---
sys/amd64/conf/LINT-NOINET6 | 1 -
2 files changed, 4 deletions(-)
diff --git a/sys/amd64/conf/LINT-NOINET b/sys/amd64/conf/LINT-NOINET
index 3f2246001b72..f5e704f6c071 100644
--- a/sys/amd64/conf/LINT-NOINET
+++ b/sys/amd64/conf/LINT-NOINET
@@ -1,7 +1,4 @@
include LINT
ident LINT-NOINET
-makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="
nooptions INET
-nodevice gre
-nodevice netmap
diff --git a/sys/amd64/conf/LINT-NOINET6 b/sys/amd64/conf/LINT-NOINET6
index e314ad1b01ec..041916883277 100644
--- a/sys/amd64/conf/LINT-NOINET6
+++ b/sys/amd64/conf/LINT-NOINET6
@@ -1,5 +1,4 @@
include LINT
ident LINT-NOINET6
-makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="
nooptions INET6