smart-green-house/rtt-uart-nb/rt-thread/components/utilities/ymodem/SConscript

16 lines
304 B
Python
Raw Normal View History

2023-10-28 18:00:47 +08:00
from building import *
cwd = GetCurrentDir()
src = Split('''
ymodem.c
''')
CPPPATH = [cwd]
if GetDepend('RT_USING_DFS') and GetDepend('YMODEM_USING_FILE_TRANSFER'):
src += ['ry_sy.c']
group = DefineGroup('Utilities', src, depend = ['RT_USING_RYM'], CPPPATH = CPPPATH)
Return('group')