summaryrefslogtreecommitdiff
path: root/components/finsh/SConscript
blob: 28fe02bac53de3fa8756714eaa43d2034baadb5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from building import *

cwd     = GetCurrentDir()
src     = Split('''
shell.c
msh.c
''')

if GetDepend('MSH_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')