Files
luban-lite-t3e-pro/kernel/rt-thread/components/finsh/SConscript
刘可亮 7bbc029dae v1.0.0
2023-08-30 16:21:18 +08:00

21 lines
345 B
Python

from building import *
cwd = GetCurrentDir()
src = Split('''
shell.c
msh.c
msh_parse.c
''')
if GetDepend('MSH_USING_BUILT_IN_COMMANDS'):
src += ['cmd.c']
if GetDepend('DFS_USING_POSIX'):
src += ['msh_file.c']
CPPPATH = [cwd]
group = DefineGroup('Finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH)
Return('group')