4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-21 12:43:30 +08:00

12 lines
236 B
Python

import os
from building import *
cwd = GetCurrentDir()
objs = []
for name in os.listdir(cwd):
if os.path.isfile(os.path.join(cwd, name, 'SConscript')):
objs += SConscript(os.path.join(name, 'SConscript'))
Return('objs')