rt-thread/bsp/phytium/board/SConscript

16 lines
325 B
Python
Raw Normal View History

from building import *
cwd = GetCurrentDir()
src = Glob('*.S')
src += Glob('*.c')
path = [cwd]
2023-08-29 10:27:54 +08:00
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')