4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-14 17:49:27 +08:00

16 lines
279 B
Python
Raw Normal View History

2018-03-04 08:21:19 +08:00
# for module compiling
import os
from building import *
objs = []
cwd = GetCurrentDir()
list = os.listdir(cwd)
for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
objs = objs + SConscript(os.path.join(item, 'SConscript'))
Return('objs')