rt-thread-official/bsp/at32/at32f403a-start/SConscript

15 lines
297 B
Python
Raw Normal View History

2020-03-09 15:10:16 +08:00
# for module compiling
from building import *
2020-03-09 15:10:16 +08:00
import os
cwd = GetCurrentDir()
2020-03-09 15:10:16 +08:00
objs = []
list = os.listdir(cwd)
2020-03-09 15:10:16 +08:00
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')