path: root/Makefile
diff options
authorWarner Losh <imp@FreeBSD.org>2014-08-18 21:04:44 +0000
committerWarner Losh <imp@FreeBSD.org>2014-08-18 21:04:44 +0000
commit75872267e8218d175145f3060ec00b46520791e3 (patch)
tree55e6b7dce96f2980c34e56daf78a1ad534d069e6 /Makefile
parentef9bab8ec85c80b621c9cb5813f9cbc4849d5d95 (diff)
Create the native-xtools target. This target creates only the cross
building toolchain for the host computer. This toolchain produces TARGET_ARCH and assumes the rest of the system contains libraries for the target. It is intended to be used in a "qemu-user jail" where all the binaries would otherwise be the target architecture's to build ports. However, emulation of the compilers is too slow, so we build native binaries for that. Rather than use the xdev produced binaries, with all their weird links and paths, these binaries use the native paths. They will not work unless installed into the qemu-user jail. Differential Revision: https://phabric.freebsd.org/D518 Reviewed by: sbruno@
Notes: svn path=/head/; revision=270155
Diffstat (limited to 'Makefile')
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2e26f7fa8230..e89a5b11c790 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,8 @@
# xdev-build - Build cross-development tools.
# 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.
# "quick" way to test all kernel builds:
# _jflag=`sysctl -n hw.ncpu`
@@ -111,7 +113,7 @@ TGTS= all all-man buildenv buildenvvars buildkernel buildworld \
_worldtmp _legacy _bootstrap-tools _cleanobj _obj \
_build-tools _cross-tools _includes _libraries _depend \
build32 builddtb distribute32 install32 xdev xdev-build xdev-install \
- xdev-links \
+ xdev-links native-xtools \