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