4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-03-01 21:25:27 +08:00
Huaqi Fang 3451466e9d bsp: Add initial commit of nuclei rvstar board bsp
Signed-off-by: Huaqi Fang <578567190@qq.com>
2020-04-03 10:04:42 +08:00

18 lines
315 B
Python

# for module compiling
import os
Import('RTT_ROOT')
cwd = str(Dir('#'))
objs = []
list = os.listdir(cwd)
ASFLAGS = ' -I' + cwd
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(d, 'SConscript'))
Return('objs')