[BSP] [ci skip] fix list issue in SConscript
This commit is contained in:
parent
cdf02d3aa0
commit
28246abb5a
|
@ -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…
Reference in New Issue