Bug 32560

Summary: make.conf(5) and share/examples/make.conf are out of date
Product: Documentation Reporter: Maxim Konovalov <maxim>
Component: Books & ArticlesAssignee: ru <ru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Maxim Konovalov 2001-12-06 18:00:04 UTC
	imp introduced a new option MODULES_OVERRIDE but
	did not document it.

Fix: 

-- 
Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer
phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru--tgR4qFWuuMduytZhSIIhO3fNnOy7NcpwYDWPQ0K2sIjH25Ws
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

Index: make.conf
===================================================================
RCS file: /home/ncvs/src/share/examples/etc/make.conf,v
retrieving revision 1.176
diff -u -r1.176 make.conf
--- make.conf	1 Oct 2001 08:13:57 -0000	1.176
+++ make.conf	2 Dec 2001 13:40:47 -0000
@@ -123,6 +123,8 @@
 # To build sys/modules when building the world (our old way of doing things)
 #MODULES_WITH_WORLD=true	# do not build modules when building kernel
 #
+# The list of modules to build instead of all of them.
+#MODULES_OVERRIDE=	linux ipfw
 #
 # The following controls building optional IDEA code in libcrypto and
 # certain ports.  Patents are involved - you must not use this unless
How-To-Repeat: 
	n/a
Comment 1 ru freebsd_committer freebsd_triage 2001-12-07 09:39:56 UTC
On Thu, Dec 06, 2001 at 08:56:01PM +0300, maxim@macomnet.ru wrote:
> 
> Index: man5/make.conf.5
> ===================================================================
> RCS file: /home/ncvs/src/share/man/man5/make.conf.5,v
> retrieving revision 1.34
> diff -u -r1.34 make.conf.5
> --- man5/make.conf.5	22 Sep 2001 08:21:56 -0000	1.34
> +++ man5/make.conf.5	2 Dec 2001 13:44:33 -0000
> @@ -353,6 +353,9 @@
>  .It Va MODULES_WITH_WORLD
>  .Pq Vt bool
>  Set to build modules with the system instead of the kernel.
> +.It Va MODULES_OVERRIDE
> +.Pq Vt str
> +Set a list of modules to build instead of all of them.
>  .It Va NO_CVS
>  .Pq Vt bool
>  Set to not build CVS.
> 
Maxim,

I think MODULES_OVERRIDE logically belongs to the "kernel build"
section of make.conf(5), after the NO_MODULES knob.  Otherwise,
looks good.  Agreed?

Index: share/examples/etc/make.conf
===================================================================
RCS file: /home/ncvs/src/share/examples/etc/make.conf,v
retrieving revision 1.176
diff -u -r1.176 make.conf
--- share/examples/etc/make.conf	2001/10/01 08:13:57	1.176
+++ share/examples/etc/make.conf	2001/12/07 09:39:42
@@ -123,6 +123,8 @@
 # To build sys/modules when building the world (our old way of doing things)
 #MODULES_WITH_WORLD=true	# do not build modules when building kernel
 #
+# The list of modules to build instead of all of them.
+#MODULES_OVERRIDE=	linux ipfw
 #
 # The following controls building optional IDEA code in libcrypto and
 # certain ports.  Patents are involved - you must not use this unless
Index: share/man/man5/make.conf.5
===================================================================
RCS file: /home/ncvs/src/share/man/man5/make.conf.5,v
retrieving revision 1.34
diff -u -r1.34 make.conf.5
--- share/man/man5/make.conf.5	2001/09/22 08:21:56	1.34
+++ share/man/man5/make.conf.5	2001/12/07 09:39:43
@@ -286,6 +286,9 @@
 .It Va NO_MODULES
 .Pq Vt bool
 Set to not build modules with the kernel.
+.It Va MODULES_OVERRIDE
+.Pq Vt str
+Set to a list of modules to build instead of all of them.
 .El
 .Pp
 The following list provides a name and short description for variables


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
Comment 2 ru freebsd_committer freebsd_triage 2001-12-24 19:34:47 UTC
State Changed
From-To: open->closed

A slightly modified version committed, thanks! 


Comment 3 ru freebsd_committer freebsd_triage 2001-12-24 19:34:47 UTC
Responsible Changed
From-To: freebsd-doc->ru