diff options
| author | Bernard Xiong <[email protected]> | 2019-12-17 19:30:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-12-17 19:30:53 +0800 |
| commit | 4e295d00cdd9056d72b5716bcd39881f68bfee46 (patch) | |
| tree | 7d10f97b72e8ca57e63e540d71884e2c24c7ec7c /components/utilities/ymodem/SConscript | |
| parent | 75a3f3dd3a930eab1dc58fa0258a9d1605a0ac11 (diff) | |
| parent | 457759ded7f39dcfe861a4668c627b4731032348 (diff) | |
Merge pull request #3270 from BernardXiong/fix_ymodem
[Util] fix the dependence of file feature in ymodem
Diffstat (limited to 'components/utilities/ymodem/SConscript')
| -rw-r--r-- | components/utilities/ymodem/SConscript | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/components/utilities/ymodem/SConscript b/components/utilities/ymodem/SConscript index 3fc3b17249..5be32247d6 100644 --- a/components/utilities/ymodem/SConscript +++ b/components/utilities/ymodem/SConscript @@ -1,8 +1,15 @@ from building import * cwd = GetCurrentDir() -src = Glob('*.c') +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') |
