RT-Thread_v4.1.1
This commit is contained in:
20
components/finsh/SConscript
Normal file
20
components/finsh/SConscript
Normal file
@ -0,0 +1,20 @@
|
||||
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')
|
Reference in New Issue
Block a user