Skip site navigation (1)Skip section navigation (2)
Date:      17 Jan 2001 10:45:46 -0000
From:      mwm@mired.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/24404: [PATCH] The make.conf KERNEL variable is not documented in make.conf(5)
Message-ID:  <20010117104546.676.qmail@guru.mired.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 17 02:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010117104546.676.qmail>