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:
8
Makefile
8
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user