Files
rt-thread/bsp/phytium/board/SConscript
2023-11-21 17:42: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')