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

7
tools/awk/Makefile Normal file
View File

@@ -0,0 +1,7 @@
# $NetBSD: Makefile,v 1.3 2010/12/12 04:06:19 christos Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}awk
HOST_SRCDIR= external/historical/nawk/bin
HOST_CPPFLAGS+= -D__EXTENSIONS__ # for isblank
.include "${.CURDIR}/../Makefile.host"