From 008c60183792c747646506fc8af01815d78e3d36 Mon Sep 17 00:00:00 2001 From: Wes Peters Date: Fri, 21 Jan 2005 03:51:07 +0000 Subject: [PATCH] Document the shiny new WITHOUT_MODULES knob in make.conf. PR: kern/76225 Prodded by: ru@, brueffer@ MFC after: 2 weeks --- share/examples/etc/make.conf | 3 +++ share/man/man5/make.conf.5 | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index 2cac7179f96f..7afebd4fa0ab 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 fef329e78ce2..a277e3443dc4 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.