From mwm@mired.org  Wed Jan 17 02:45:57 2001
Return-Path: <mwm@mired.org>
Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186])
	by hub.freebsd.org (Postfix) with SMTP id 35C7337B400
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Jan 2001 02:45:57 -0800 (PST)
Received: (qmail 677 invoked by uid 100); 17 Jan 2001 10:45:46 -0000
Message-Id: <20010117104546.676.qmail@guru.mired.org>
Date: 17 Jan 2001 10:45:46 -0000
From: mwm@mired.org
Reply-To: mwm@mired.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] The make.conf KERNEL variable is not documented in make.conf(5)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         24404
>Category:       docs
>Synopsis:       [PATCH] The make.conf KERNEL variable is not documented in make.conf(5)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 17 02:50:01 PST 2001
>Closed-Date:    Wed Jan 17 11:51:47 GMT 2001
>Last-Modified:  Wed Jan 17 11:52:14 GMT 2001
>Originator:     Mike Meyer
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Meyer Consulting
>Environment:
System: FreeBSD guru.mired.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Jan 14 17:33:22 CST 2001 mwm@guru.mired.org:/usr/obj/sharetmp/src/sys/GURU i386


>Description:
	I just noticed that KERNEL was left out of the make.conf man page.
	Since it's also left out of /etc/defaults/make.conf, this is a
	serious oversight.

>How-To-Repeat:

	$ man make.conf | grep KERNEL
	$ grep KERNEL /etc/defaults/make.conf

	and notice that there's no output.

>Fix:

Here's a patch to the make.conf man page.

--- make.conf.5	Fri Dec 29 19:29:42 2000
+++ /tmp/make.conf.5	Wed Jan 17 04:43:39 2001
@@ -186,6 +186,24 @@
 kernel. Optimization levels above
 .Op -O ( -O2 , ...\& )
 are not supported.
+.It Ar KERNEL
+(str) Controls which kernel configurations will be
+built by
+.Cm  "${MAKE} buildkernel"
+and installed by 
+.Cm "${MAKE} installkernel" .
+For example,
+.Bd -literal -offset indent
+KERNEL=MINE DEBUG GENERIC OTHERMACHINE
+.Ed
+will build the the kernels specified by the config files
+.Pa MINE , DEBUG , GENERIC 
+and
+.Pa OTHERMACHINE ,
+and install the kernel specified by the config file
+.Pa MINE .
+It defaults to
+.Pa GENERIC .
 .It Ar NO_KERNELCONFIG
 (bool) Set this to skip running
 .Xr config 8


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ben 
State-Changed-When: Wed Jan 17 11:51:47 GMT 2001 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24404 
>Unformatted:
