from building import * cwd = GetCurrentDir() src = Glob('*.c') if GetDepend('RT_USING_OFW') == False: SrcRemove(src, ['ofw.c']) CPPPATH = [cwd,cwd + '/../include'] group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_PHY'], CPPPATH = CPPPATH) Return('group')