提交 28246abb 编写于 作者: B Bernard Xiong

[BSP] [ci skip] fix list issue in SConscript

上级 cdf02d3a
...@@ -2,11 +2,11 @@ from building import * ...@@ -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'))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册