rt-thread/components/utilities/ymodem/SConscript

16 lines
304 B
Python

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')