build(7): Document native-xtools.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2017-10-29 01:21:22 +00:00
parent 24830684f2
commit 7441e255ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325080
2 changed files with 15 additions and 1 deletions

View file

@ -39,7 +39,9 @@
# xdev-install - Install cross-development tools.
# xdev-links - Create traditional links in /usr/bin for cc, etc
# native-xtools - Create host binaries that produce target objects
# for use in qemu user-mode jails.
# for use in qemu user-mode jails. Override
# target location with NXBDESTDIR. TARGET and
# TARGET_ARCH should be defined.
#
# "quick" way to test all kernel builds:
# _jflag=`sysctl -n hw.ncpu`

View file

@ -222,6 +222,18 @@ variable
.Va DISTDIR .
This target is used while building a release; see
.Xr release 7 .
.It Cm native-xtools
This target builds a cross-toolchain for the given
.Sy TARGET
and
.Sy TARGET_ARCH ,
as well as a select list of static userland tools for the host system.
This is intended to be used in a jail where QEMU is used to improve
performance by avoiding emulating binaries that do not need to be emulated.
.Sy TARGET
and
.Sy TARGET_ARCH
should be defined.
.It Cm packageworld
Archive the results of
.Cm distributeworld ,