Date: Thu, 28 Apr 2016 22:14:09 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298759 - head/share/man/man7 Message-ID: <201604282214.u3SME9Hg003314@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock (doc committer) Date: Thu Apr 28 22:14:09 2016 New Revision: 298759 URL: https://svnweb.freebsd.org/changeset/base/298759 Log: Clarify build(7) instructions for alternate object directory. PR: 209062 Submitted by: Shawn Debnath <sd@beastie.io> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6106 Modified: head/share/man/man7/build.7 Modified: head/share/man/man7/build.7 ============================================================================== --- head/share/man/man7/build.7 Thu Apr 28 21:17:23 2016 (r298758) +++ head/share/man/man7/build.7 Thu Apr 28 22:14:09 2016 (r298759) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 14, 2016 +.Dd April 28, 2016 .Dt BUILD 7 .Os .Sh NAME @@ -195,6 +195,12 @@ Build everything but the kernel, configu .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 @@ -278,6 +284,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 , @@ -347,7 +359,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 @@ -560,7 +572,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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604282214.u3SME9Hg003314>