2022-01-10 16:20:39 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Split('''
|
|
|
|
shell.c
|
|
|
|
msh.c
|
|
|
|
''')
|
|
|
|
|
|
|
|
if GetDepend('MSH_USING_BUILT_IN_COMMANDS'):
|
|
|
|
src += ['cmd.c']
|
|
|
|
|
2022-01-10 17:10:14 +08:00
|
|
|
if GetDepend('RT_USING_DFS'):
|
2022-01-10 16:20:39 +08:00
|
|
|
src += ['msh_file.c']
|
|
|
|
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
|
|
|
group = DefineGroup('Finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|