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_NANO'): 11 for d in list: 12 path = os.path.join(cwd, d) 13 if os.path.isfile(os.path.join(path, 'SConscript')): 14 objs = objs + SConscript(os.path.join(d, 'SConscript')) 15 16Return('objs') 17