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
|
|
|
|
''')
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2013-10-09 20:27:00 +08:00
|
|
|
CPPPATH = [cwd]
|
2019-12-17 13:38:49 +08:00
|
|
|
|
2021-05-19 12:56:27 +08:00
|
|
|
if GetDepend('YMODEM_USING_FILE_TRANSFER'):
|
2019-12-17 13:38:49 +08:00
|
|
|
src += ['ry_sy.c']
|
|
|
|
|
2013-10-09 20:27:00 +08:00
|
|
|
group = DefineGroup('Utilities', src, depend = ['RT_USING_RYM'], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|