From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 25 19:10:08 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2DC1106564A for ; Sun, 25 Sep 2011 19:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 90FCF8FC13 for ; Sun, 25 Sep 2011 19:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8PJA8Ko065662 for ; Sun, 25 Sep 2011 19:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8PJA8Sg065661; Sun, 25 Sep 2011 19:10:08 GMT (envelope-from gnats) Resent-Date: Sun, 25 Sep 2011 19:10:08 GMT Resent-Message-Id: <201109251910.p8PJA8Sg065661@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CE1A1065670 for ; Sun, 25 Sep 2011 19:03:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id F1A878FC0C for ; Sun, 25 Sep 2011 19:03:20 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8PJ3KnZ071668 for ; Sun, 25 Sep 2011 19:03:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p8PJ3K4Q071665; Sun, 25 Sep 2011 19:03:20 GMT (envelope-from nobody) Message-Id: <201109251903.p8PJ3K4Q071665@red.freebsd.org> Date: Sun, 25 Sep 2011 19:03:20 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/161017: [patch] add a helpful blurb about PORTS_MODULES to build(7) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Sep 2011 19:10:08 -0000 >Number: 161017 >Category: conf >Synopsis: [patch] add a helpful blurb about PORTS_MODULES to build(7) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 25 19:10:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9.0-BETA2 >Organization: n/a >Environment: n/a >Description: PORTS_MODULES is a very handy knob for folks that build kernels from source that allows one to specify a list of ports to build and install when running buildkernel and installkernel. It should be documented for power users to help improve the source upgrade process. The attached patch adds a blurb to build(7) about PORTS_MODULES. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: share/man/man7/build.7 =================================================================== --- share/man/man7/build.7 (revision 225704) +++ share/man/man7/build.7 (working copy) @@ -414,6 +414,15 @@ .It Va LOCAL_DIRS If set, this variable supplies a list of additional directories to build, relative to the root of the source tree. +.It Va PORTS_MODULES +A list of ports with kernel modules to build and install when running +.Cm buildkernel +and +.Cm installkernel , +respectively (or any of the variants of the beforementioned targets), e.g. +.Bd -literal -offset indent +make PORTS_MODULES=emulators/kqemu-kmod kernel +.Ed .It Va SUBDIR_OVERRIDE Override the default list of sub-directories and only build the sub-directory named in this variable. >Release-Note: >Audit-Trail: >Unformatted: