4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-14 22:29:22 +08:00
2017-08-08 11:56:50 +08:00

13 lines
262 B
Python

from building import *
cwd = str(Dir('#'))
objs = []
list = os.listdir(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')