1# RT-Thread building script for bridge 2 3import os 4from building import * 5 6cwd = GetCurrentDir() 7objs = [] 8list = os.listdir(cwd) 9 10if not GetDepend('RT_USING_SUNXI_HAL'): 11 Return('objs') 12 13for d in list: 14 path = os.path.join(cwd, d) 15 if os.path.isfile(os.path.join(path, 'SConscript')): 16 objs = objs + SConscript(os.path.join(d, 'SConscript')) 17 18Return('objs') 19