Import('RTT_ROOT') Import('rtconfig') from building import * cwd = GetCurrentDir() src = Glob('*.c') CPPPATH = [cwd] #remove other no use files #SrcRemove(src, '*.c') group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) Return('group')