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