summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorwblock <wblock@FreeBSD.org>2016-05-05 19:44:06 +0000
committerwblock <wblock@FreeBSD.org>2016-05-05 19:44:06 +0000
commit9add1370b76cdf7f256876a2c5cbeedea34b92c3 (patch)
tree98239a688fd1c2e19f56b9f4bd30679eb5f873f5 /share
parentf253cf99a5d86c669a59514d0c73edb49024e1f0 (diff)
downloadFreeBSD-src-9add1370b76cdf7f256876a2c5cbeedea34b92c3.zip
FreeBSD-src-9add1370b76cdf7f256876a2c5cbeedea34b92c3.tar.gz
MFC r298759:
Clarify build(7) instructions for alternate object directory.
Diffstat (limited to 'share')
-rw-r--r--share/man/man7/build.718
1 files changed, 15 insertions, 3 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index c7ee188..912d146 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 4, 2015
+.Dd April 28, 2016
.Dt BUILD 7
.Os
.Sh NAME
@@ -179,6 +179,12 @@ Build everything but the kernel, configure files in
.Pa etc ,
and
.Pa release .
+The object directory can be changed from the default
+.Pa /usr/obj
+by setting the
+.Pa MAKEOBJDIRPREFIX
+.Xr make 1
+variable.
The actual build location prefix used is
.Pa ${MAKEOBJDIRPREFIX}${.CURDIR}
for native builds, and
@@ -262,6 +268,12 @@ are:
.Bl -tag -width ".Cm distributekernel"
.It Cm buildkernel
Rebuild the kernel and the kernel modules.
+The object directory can be changed from the default
+.Pa /usr/obj
+by setting the
+.Pa MAKEOBJDIRPREFIX
+.Xr make 1
+variable.
.It Cm installkernel
Install the kernel and the kernel modules to directory
.Pa ${DESTDIR}/boot/kernel ,
@@ -331,7 +343,7 @@ should be set as with
.Dq Li "make installworld" .
.It Cm delete-old-libs
Delete obsolete base system libraries interactively.
-This target should only be used if no 3rd party software uses these
+This target should only be used if no third party software uses these
libraries.
When
.Li -DBATCH_DELETE_OLD_FILES
@@ -525,7 +537,7 @@ on built objects.
.It Va NO_SHARE
If set, the build does not descend into the
.Pa /usr/src/share
-subdirectory (i.e., manpages, locale data files, timezone data files and
+subdirectory (i.e., manual pages, locale data files, timezone data files and
other
.Pa /usr/src/share
files will not be rebuild from their sources).
OpenPOWER on IntegriCloud