4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-25 00:08:16 +08:00

13 lines
254 B
Python
Raw Normal View History

2024-02-23 01:34:35 +08:00
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')