Ubiquitous/RT_Thread/:change the path name

This commit is contained in:
chunyexixiaoyu
2021-12-20 16:05:12 +08:00
parent 12c9220487
commit be4da6f37d
23 changed files with 13 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
import os
Import('RTT_ROOT')
from building import *
cwd = GetCurrentDir()
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(path, 'SConscript'))
Return('objs')