rt-thread-official/bsp/ti/c28x/tms320f28379d/cmd/Sconscript

21 lines
339 B
Plaintext
Raw Normal View History

2022-11-12 05:59:49 +08:00
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')