from building import * group = [] if not GetDepend(['RT_USING_DMA']): Return('group') cwd = GetCurrentDir() CPPPATH = [cwd + '/../include'] src = ['dma.c', 'dma_pool.c'] group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group')