4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-17 00:13:31 +08:00
2021-08-23 17:30:05 +08:00

18 lines
267 B
Python

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