16 lines
		
	
	
		
			276 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			276 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								# RT-Thread building script for bridge
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import os
							 | 
						||
| 
								 | 
							
								from building import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Import('rtconfig')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cwd   = GetCurrentDir()
							 | 
						||
| 
								 | 
							
								group = []
							 | 
						||
| 
								 | 
							
								list  = os.listdir(cwd)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								if rtconfig.ARCH in list:
							 | 
						||
| 
								 | 
							
								    group = group + SConscript(os.path.join(cwd, rtconfig.ARCH, 'SConscript'))
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Return('group')
							 |