Add more static binaries to the native-xtools target. These help speed

up the cross builds significantly.

adding:
bin/sh
bin/csh
sbin/md5
usr.bin/bzip2
usr.bin/fetch
usr.bin/gzip
usr.bin/tar
usr.bin/unzip
usr.bin/xz

Phabric: D1146
Reviewed by:	imp bdrewery
MFC after:	2 weeks
This commit is contained in:
Sean Bruno 2014-11-13 22:25:22 +00:00
parent 18e3d9f521
commit 2c8c40a7ad

View File

@ -1447,12 +1447,16 @@ NXBMAKE= ${NXBENV} ${MAKE} \
MK_CLANG_FULL=no MK_LLDB=no
native-xtools: .MAKE
mkdir -p ${OBJTREE}/nxb-bin/bin
mkdir -p ${OBJTREE}/nxb-bin/sbin
mkdir -p ${OBJTREE}/nxb-bin/usr
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \
-p ${OBJTREE}/nxb-bin/usr >/dev/null
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
-p ${OBJTREE}/nxb-bin/usr/include >/dev/null
.for _tool in \
bin/csh \
bin/sh \
${_clang_tblgen} \
usr.bin/ar \
${_binutils} \
@ -1460,11 +1464,18 @@ native-xtools: .MAKE
${_gcc_tools} \
${_clang_libs} \
${_clang} \
sbin/md5 \
usr.bin/awk \
usr.bin/bmake \
usr.bin/bzip2 \
usr.bin/fetch \
usr.bin/gzip \
usr.bin/lex \
usr.bin/lorder \
usr.bin/sed \
usr.bin/tar \
usr.bin/unzip \
usr.bin/xz \
usr.bin/yacc
${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
cd ${.CURDIR}/${_tool} && \