Import NetBSD tools and build.sh

This commit finalizes support for cross compilation. The tools
directory are all links to the actual tools and are built on the
host system to build Minix. build.sh is the work horse that takes
care of all environment settings. It's slightly adjusted for Minix.
The /usr/src/Makefile has additional targets needed for cross
compilation.
This commit is contained in:
Thomas Veerman
2012-06-06 14:46:00 +00:00
parent 2ed11343a6
commit c8a0e2f4c6
140 changed files with 26869 additions and 0 deletions

View File

@@ -27,7 +27,15 @@ usage:
# etcfiles also creates a directory hierarchy in its
# 'make install' target.
#
# etcfiles has to be done first.
distribution: etcfiles includes mkfiles libraries do-libgcc .WAIT dep-all install etcforce
do-libgcc: .PHONY .MAKE
${MAKEDIRTARGET} external/gpl3/gcc/lib/libgcc/libgcc all
${MAKEDIRTARGET} external/gpl3/gcc/lib/libgcc/libgcc install
world: mkfiles etcfiles includes libraries dep-all install etcforce
# subdirs where userland utilities and other executables live