summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/examples/etc/make.conf3
-rw-r--r--share/man/man5/make.conf.59
2 files changed, 12 insertions, 0 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 2cac717..7afebd4 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -169,6 +169,9 @@
# The list of modules to build instead of all of them.
#MODULES_OVERRIDE= linux ipfw
#
+# The list of modules to never build, applied *after* MODULES_OVERRIDE.
+#WITHOUT_MODULES= bktr plip
+#
# The following controls building optional IDEA code in libcrypto and
# certain ports. Patents are involved - you must not use this unless
# you either have a license or fall within patent 'fair use'
diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5
index fef329e..a277e34 100644
--- a/share/man/man5/make.conf.5
+++ b/share/man/man5/make.conf.5
@@ -352,6 +352,15 @@ rather than load the server's kernel.
.It Va MODULES_OVERRIDE
.Pq Vt str
Set to a list of modules to build instead of all of them.
+.It Va WITHOUT_MODULES
+.Pq Vt str
+Set to a list of modules to exclude from the build. This provides a
+somewhat easier way to exclude modules you are certain you will never
+need than specifying
+.Va MODULES_OVERRIDE .
+This is applied
+.Em after
+.Va MODULES_OVERRIDE .
.It Va PORTS_MODULES
Set this to the list of ports you wish to rebuild every time the kernel
is built.
OpenPOWER on IntegriCloud