mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-24 05:17:23 +08:00
12 lines
236 B
Python
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')
|