summaryrefslogtreecommitdiff
path: root/components/finsh/SConscript
blob: 9b2faa2283ab310a1c8b88005be70261a3dfab96 (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('DFS_USING_POSIX'):
    src += ['msh_file.c']

CPPPATH = [cwd]

group = DefineGroup('Finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH)

Return('group')