aboutsummaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-10-29 01:21:26 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-10-29 01:21:26 +0000
commitb135fb6ef4b5cfbb3056a2ef50e176ddd9e4e4c3 (patch)
treec0241509617a78da7742be62924f744c8ec3b5d5 /share/man
parent7441e255ed4a76e2f1bd838df433301220d75c1c (diff)
build(7): Document xdev targets.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=325081
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man7/build.737
1 files changed, 37 insertions, 0 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index 00659f64fe32..b23a8f861d07 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -288,6 +288,43 @@ In addition print a summary of all failed targets at the end and
exit with an error if there were any.
.It Cm toolchains
Create a build toolchain for each architecture supported by the build system.
+.It Cm xdev
+Builds and installs a cross-toolchain and sysroot for the given
+.Sy TARGET
+and
+.Sy TARGET_ARCH .
+The sysroot contains target library and headers.
+The target is an alias for
+.Cm xdev-build
+and
+.Cm xdev-install .
+The location of the files installed can be controlled with
+.Va DESTDIR .
+The target location in
+.Va DESTDIR
+is
+.Pa ${DESTDIR}/${XDTP}
+where
+.Va XDTP
+defaults to
+.Pa /usr/${XDDIR}
+and
+.Va XDDIR
+defaults to
+.Pa ${TARGET_ARCH}-freebsd .
+.It Cm xdev-build
+Builds for the
+.Cm xdev
+target.
+.It Cm xdev-install
+Installs the files for the
+.Cm xdev
+target.
+.It Cm xdev-links
+Installs autoconf-style symlinks to
+.Pa ${DESTDIR}/usr/bin
+pointing into the xdev toolchain in
+.Pa ${DESTDIR}/${XDTP} .
.El
.Pp
Kernel specific build targets in