1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
from building import * cwd = GetCurrentDir() src = Split(''' shell.c cmd.c msh.c ''') if GetDepend('RT_USING_DFS'): src += ['msh_file.c'] CPPPATH = [cwd] group = DefineGroup('msh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH) Return('group')