Motion_EC_HC32_archived/rt-thread/components/finsh/SConscript

20 lines
330 B
Python
Raw Normal View History

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