rt-thread/components/finsh/SConscript

18 lines
267 B
Python
Raw Normal View History

from building import *
cwd = GetCurrentDir()
2014-01-01 23:14:45 +08:00
src = Split('''
shell.c
cmd.c
2021-08-23 17:30:05 +08:00
msh.c
2014-01-01 23:14:45 +08:00
''')
if GetDepend('RT_USING_DFS'):
2021-08-23 17:30:05 +08:00
src += ['msh_file.c']
2014-01-01 23:14:45 +08:00
CPPPATH = [cwd]
2021-08-23 17:30:05 +08:00
group = DefineGroup('msh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH)
Return('group')