2022-11-10 22:22:48 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Glob('*.S')
|
2023-05-11 10:25:21 +08:00
|
|
|
src += Glob('*.c')
|
2023-11-21 17:42:23 +08:00
|
|
|
path = [cwd]
|
2023-08-29 10:27:54 +08:00
|
|
|
|
2023-11-21 17:42:23 +08:00
|
|
|
if GetDepend(['CUS_DEMO_BOARD']):
|
|
|
|
src += Glob(cwd + '/cus_demo_board/fio_mux.c')
|
|
|
|
path += [cwd + '/cus_demo_board/']
|
2022-11-10 22:22:48 +08:00
|
|
|
|
2023-11-21 17:42:23 +08:00
|
|
|
group = DefineGroup('Board', src, depend=[
|
|
|
|
''], CPPPATH=path)
|
2022-11-10 22:22:48 +08:00
|
|
|
|
|
|
|
Return('group')
|