1from building import * 2 3cwd = GetCurrentDir() 4src = Glob('*.S') 5src += Glob('*.c') 6path = [cwd] 7 8if GetDepend(['CUS_DEMO_BOARD']): 9 src += Glob(cwd + '/cus_demo_board/fio_mux.c') 10 path += [cwd + '/cus_demo_board/'] 11 12group = DefineGroup('Board', src, depend=[ 13 ''], CPPPATH=path) 14 15Return('group') 16