. define _MINIX_SYSTEM for all system code from minix.service.mk . hide some system-level declarations and definitions behind _MINIX_SYSTEM to cleanly fix host tool build problems on Minix (such as: NONE being defined and paddr_t being used but not declared) . the similar definition _SYSTEM is unsuitable as it changes the values of errno definitions Change-Id: I407de79e2575115243a074b16e79546a279cfa3e
		
			
				
	
	
		
			13 lines
		
	
	
		
			215 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			215 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
NOGCCERROR=yes
 | 
						|
NOCLANGERROR=yes
 | 
						|
CPPFLAGS+= -D_MINIX_SYSTEM
 | 
						|
 | 
						|
# Makefile for libblockdriver
 | 
						|
.include <bsd.own.mk>
 | 
						|
 | 
						|
LIB=	blockdriver
 | 
						|
 | 
						|
SRCS=	driver.c drvlib.c driver_st.c driver_mt.c mq.c trace.c
 | 
						|
 | 
						|
.include <bsd.lib.mk>
 |