diff options
| author | Bernard Xiong <[email protected]> | 2021-08-25 19:03:52 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-25 19:03:52 +0800 |
| commit | bd44c1e5900cae054aebdec1439a11c9258ebaa6 (patch) | |
| tree | 09007f0b2592ef459a07368a2b63cc17fe6129be /components/finsh/SConscript | |
| parent | f3df67d5f3bcca1d4259306fcd0e9396e6d08627 (diff) | |
| parent | 782c288db624da2c818f693b409aacf1b23dd010 (diff) | |
Merge pull request #4970 from cndabai/master
Remove C Style Command Shell
Diffstat (limited to 'components/finsh/SConscript')
| -rw-r--r-- | components/finsh/SConscript | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/components/finsh/SConscript b/components/finsh/SConscript index be04c56616..1a6d7c8fc7 100644 --- a/components/finsh/SConscript +++ b/components/finsh/SConscript @@ -1,39 +1,17 @@ -Import('rtconfig') from building import * cwd = GetCurrentDir() src = Split(''' shell.c cmd.c +msh.c ''') -fsh_src = Split(''' -finsh_compiler.c -finsh_error.c -finsh_heap.c -finsh_init.c -finsh_node.c -finsh_ops.c -finsh_parser.c -finsh_var.c -finsh_vm.c -finsh_token.c -''') - -msh_src = Glob('msh.c') - if GetDepend('RT_USING_DFS'): - msh_src += ['msh_file.c'] - -if not GetDepend('FINSH_USING_SYMTAB'): - src += ['symbol.c'] -if GetDepend('FINSH_USING_MSH'): - src = src + msh_src -if not GetDepend('FINSH_USING_MSH_ONLY'): - src = src + fsh_src + src += ['msh_file.c'] CPPPATH = [cwd] -group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH) +group = DefineGroup('msh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH) Return('group') |
