rt-thread/components/finsh/SConscript

20 lines
332 B
Python

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