15 lines
		
	
	
		
			288 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			288 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								# RT-Thread building script for component
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								from building import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cwd     = GetCurrentDir()
							 | 
						||
| 
								 | 
							
								src     = []
							 | 
						||
| 
								 | 
							
								CPPPATH = [cwd]
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								if GetDepend('RT_USING_POSIX_EVENTFD'):
							 | 
						||
| 
								 | 
							
								    src += ['eventfd.c']
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Return('group')
							 |