summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-12-11 21:14:10 +0000
committerimp <imp@FreeBSD.org>2007-12-11 21:14:10 +0000
commita881501a6f93c21924bebe632e3de39fb0900cd7 (patch)
tree1ac399bf5d34a1a65b7c1833cb974539596bcba4 /share
parent7ec3418f8ed9b60d415a71ab4880db03019f83f5 (diff)
downloadFreeBSD-src-a881501a6f93c21924bebe632e3de39fb0900cd7.zip
FreeBSD-src-a881501a6f93c21924bebe632e3de39fb0900cd7.tar.gz
Document BSDMAKE variable that was recently introduced. Also, since
RELENG_7, the way to do a cross build changed from specifying only TARGET_ARCH (which has an ambigous mapping to TARGET) to specifying only TARGET (which has a unique mapping to TARGET_ARCH). Update the example to reflect this. MFC After: 1 week (the example change only)
Diffstat (limited to 'share')
-rw-r--r--share/man/man7/build.719
1 files changed, 16 insertions, 3 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index 447ae79..cb096ae 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -335,6 +335,16 @@ are influenced by the following
.Xr make 1
variables:
.Bl -tag -width ".Va SUBDIR_OVERRIDE"
+.It Va BSDMAKE
+If set, this variable supplies the name of the
+program to use in early boot strapping that is compatible with the
+default
+.Fx
+.Xr make 1
+program.
+This program is subjected to the normal make regression tests at the
+start of the build, and is used to build a more compatible make, if
+necessary, which is used to build the rest of the system.
.It Va LOCAL_DIRS
If set, this variable supplies a list of additional directories to
build, relative to the root of the source tree.
@@ -366,7 +376,10 @@ output.
Set this to cross-build for a different architecture.
If not set,
.Va TARGET_ARCH
-defaults to the current machine architecture.
+defaults to the current machine architecture, unless
+.Va TARGET
+is also set, in which case it defaults to the appropriate
+value for that platform.
.El
.Pp
Builds under directory
@@ -402,8 +415,8 @@ The following sequence of commands can be used to cross-build the
system for the sparc64 architecture on an i386 host:
.Bd -literal -offset indent
cd /usr/src
-make TARGET_ARCH=sparc64 buildworld
-make TARGET_ARCH=sparc64 DESTDIR=/clients/sparc64 installworld
+make TARGET=sparc64 buildworld
+make TARGET=sparc64 DESTDIR=/clients/sparc64 installworld
.Ed
.Sh SEE ALSO
.Xr cc 1 ,
OpenPOWER on IntegriCloud