2013-10-09 20:27:00 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2019-12-17 13:38:49 +08:00
|
|
|
src = Split('''
|
|
|
|
ymodem.c
|
|
|
|
''')
|
|
|
|
|
2013-10-09 20:27:00 +08:00
|
|
|
CPPPATH = [cwd]
|
2019-12-17 13:38:49 +08:00
|
|
|
|
|
|
|
if GetDepend('RT_USING_DFS') and GetDepend('YMODEM_USING_FILE_TRANSFER'):
|
|
|
|
src += ['ry_sy.c']
|
|
|
|
|
2013-10-09 20:27:00 +08:00
|
|
|
group = DefineGroup('Utilities', src, depend = ['RT_USING_RYM'], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|