docs/178286: [PATCH] document the LOCAL_* vars in build(7)

Garrett Cooper yaneurabeya at gmail.com
Wed May 1 21:30:01 UTC 2013


>Number:         178286
>Category:       docs
>Synopsis:       [PATCH] document the LOCAL_* vars in build(7)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 01 21:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD gran-tourismo.west.isilon.com 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r+ba9afe9: Fri Apr 19 20:29:10 PDT 2013     gcooper at gran-tourismo.west.isilon.com:/usr/obj/usr/src/sys/GRAN-TOURISMO  amd64
>Description:
Several variables were added to the build recently, but aren't documented. The attached patch documents their existence.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

>From 941fe31f4e33812de0355a3f51787609defe87d1 Mon Sep 17 00:00:00 2001
From: Garrett Cooper <yanegomi at gmail.com>
Date: Wed, 1 May 2013 14:13:02 -0700
Subject: [PATCH 1/2] Document the rest of the LOCAL_* vars in CURRENT

Signed-off-by: Garrett Cooper <yanegomi at gmail.com>
---
 share/man/man7/build.7 | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index 931b444..73f9418 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -411,8 +411,25 @@ then
 is set to the value of
 .Va KERNFAST .
 .It Va LOCAL_DIRS
-If set, this variable supplies a list of additional directories to
-build, relative to the root of the source tree.
+If set, this variable supplies a list of additional directories relative to
+the root of the source tree to build as part of the
+.Cm everything
+target.
+.It Va LOCAL_LIB_DIRS
+If set, this variable supplies a list of additional directories relative to
+the root of the source tree to build as part of the
+.Cm libraries
+target.
+.It Va LOCAL_MTREE
+If set, this variable supplies a list of additional mtrees relative to the
+root of the source tree to use as part of the
+.Cm hierarchy
+target.
+.It Va LOCAL_TOOL_DIRS
+If set, this variable supplies a list of additional directories relative to
+the root of the source tree to build as part of the
+.Cm build-tools
+target.
 .It Va PORTS_MODULES
 A list of ports with kernel modules that should be built and installed
 as part of the
-- 
1.8.2.1



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-doc mailing list