4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-24 17:17:23 +08:00

16 lines
325 B
Python

from building import *
cwd = GetCurrentDir()
src = Glob('*.S')
src += Glob('*.c')
path = [cwd]
if GetDepend(['CUS_DEMO_BOARD']):
src += Glob(cwd + '/cus_demo_board/fio_mux.c')
path += [cwd + '/cus_demo_board/']
group = DefineGroup('Board', src, depend=[
''], CPPPATH=path)
Return('group')