Merge branch 'master' of https://github.com/RT-Thread/rt-thread
This commit is contained in:
commit
737c7acfea
@ -2,11 +2,11 @@ from building import *
|
|||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
objs = []
|
objs = []
|
||||||
list = os.listdir(cwd+'\\..')
|
list = os.listdir(os.path.join(cwd, '..'))
|
||||||
|
|
||||||
for d in list:
|
for d in list:
|
||||||
if d!='m4':
|
if d!='m4':
|
||||||
path = os.path.join(cwd+'\\..', d)
|
path = os.path.join(cwd, '..', d)
|
||||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||||
objs = objs + SConscript(os.path.join(path, 'SConscript'))
|
objs = objs + SConscript(os.path.join(path, 'SConscript'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user