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

CPPPATH = [cwd]

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

Return('group')