1Import('RTT_ROOT') 2Import('rtconfig') 3from building import * 4 5cwd = GetCurrentDir() 6 7# add the general drivers. 8src = [] 9 10if GetDepend(['BSP_USING_FLASH']): 11 src += ['2837x_FLASH_lnk_cpu1.cmd'] 12else: 13 src += ['2837x_RAM_lnk_cpu1.cmd'] 14 15path = [cwd] 16path += [cwd] 17 18group = DefineGroup('Drivers', src, depend = ['']) 19 20Return('group') 21