Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168914728
D33443.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
843 B
Referenced Files
None
Subscribers
None
D33443.diff
View Options
diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5
--- a/share/man/man5/make.conf.5
+++ b/share/man/man5/make.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 14, 2021
+.Dd January 13, 2021
.Dt MAKE.CONF 5
.Os
.Sh NAME
@@ -272,6 +272,9 @@
.It Va MODULES_OVERRIDE
.Pq Vt str
Set to a list of modules to build instead of all of them.
+.It Va MODULES_EXCLUDE
+.Pq Vt str
+Set to a list of modules to exclude from the build.
.It Va NO_KERNELCLEAN
.Pq Vt bool
Set this to skip running
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk
--- a/share/mk/bsd.kmod.mk
+++ b/share/mk/bsd.kmod.mk
@@ -1,4 +1,10 @@
# $FreeBSD$
+.if defined(MODULES_EXCLUDE) && defined(KMOD) && ${MODULES_EXCLUDE:M${KMOD}}
+all:
+install:
+cleandir:
+.else
.include <bsd.sysdir.mk>
.include "${SYSDIR}/conf/kmod.mk"
+.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 31, 5:48 PM (1 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37685069
Default Alt Text
D33443.diff (843 B)
Attached To
Mode
D33443: Introduce MODULES_EXCLUDE
Attached
Detach File
Event Timeline
Log In to Comment