You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
333 B
19 lines
333 B
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Split('''
|
|
shell.c
|
|
msh.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')
|
|
|