21 lines
339 B
Plaintext
21 lines
339 B
Plaintext
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')
|