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.
		
			
				
	
	
		
			8 lines
		
	
	
		
			224 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			224 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#	$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"
 |