# RT-Thread building script for component from building import * cwd = GetCurrentDir() src = Glob('*.c') CPPPATH = [cwd, str(Dir('#'))] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) Return('group')