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.
		
			
				
	
	
		
			12 lines
		
	
	
		
			334 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			334 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#	$NetBSD: Makefile,v 1.11 2011/03/06 18:15:30 bouyer Exp $
 | 
						|
 | 
						|
HOSTPROGNAME=	${_TOOL_PREFIX}installboot
 | 
						|
HOST_SRCDIR=	usr.sbin/installboot
 | 
						|
 | 
						|
HOST_CPPFLAGS+=	-I. -I${.CURDIR} -I${.CURDIR}/../mips-elf2ecoff
 | 
						|
HOST_CPPFLAGS+=	-I${TOOLDIR}/include/nbinclude
 | 
						|
 | 
						|
.include "${.CURDIR}/../Makefile.nbincludes"
 | 
						|
.include "${.CURDIR}/../Makefile.host"
 | 
						|
 |