diff options
author | imp <imp@FreeBSD.org> | 2014-08-18 21:04:44 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-08-18 21:04:44 +0000 |
commit | 1ddbac150a36f8a3148c117d46df96840dc6beab (patch) | |
tree | 55e6b7dce96f2980c34e56daf78a1ad534d069e6 /Makefile | |
parent | f7f2052abfff8798a3cfc9c3c103540dd5554645 (diff) | |
download | FreeBSD-src-1ddbac150a36f8a3148c117d46df96840dc6beab.zip FreeBSD-src-1ddbac150a36f8a3148c117d46df96840dc6beab.tar.gz |
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@
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 \ TGTS+= ${SUBDIR_TARGETS} |