Author: sbruno
Date: Thu Nov 13 22:25:22 2014
New Revision: 274490
URL: https://svnweb.freebsd.org/changeset/base/274490

Log:
  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

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Thu Nov 13 22:11:44 2014        (r274489)
+++ head/Makefile.inc1  Thu Nov 13 22:25:22 2014        (r274490)
@@ -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} && \
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to