提交 fcff5526 编写于 作者: G Grissiom

lpc43xx: fix the SConscripts

上级 03a2847f
...@@ -5,13 +5,13 @@ objs = [] ...@@ -5,13 +5,13 @@ objs = []
for d in os.listdir(os.path.join(cwd, '..')): for d in os.listdir(os.path.join(cwd, '..')):
if d not in ('M0', 'M4'): if d not in ('M0', 'M4'):
path = os.path.join(cwd, '..', d, 'SConscript') path = os.path.join('..', d, 'SConscript')
if os.path.isfile(path): if os.path.isfile(os.path.join(cwd, path)):
objs = objs + SConscript(path) objs = objs + SConscript(os.path.join(cwd, path))
for d in os.listdir(cwd): for d in os.listdir(cwd):
p = os.path.join(cwd, d, 'SConscript'); p = os.path.join(d, 'SConscript');
if os.path.isfile(p): if os.path.isfile(os.path.join(cwd, p)):
objs = objs + SConscript(p) objs = objs + SConscript(p)
Return('objs') Return('objs')
...@@ -5,13 +5,13 @@ objs = [] ...@@ -5,13 +5,13 @@ objs = []
for d in os.listdir(os.path.join(cwd, '..')): for d in os.listdir(os.path.join(cwd, '..')):
if d not in ('M0', 'M4'): if d not in ('M0', 'M4'):
path = os.path.join(cwd, '..', d, 'SConscript') path = os.path.join('..', d, 'SConscript')
if os.path.isfile(path): if os.path.isfile(os.path.join(cwd, path)):
objs = objs + SConscript(path) objs = objs + SConscript(os.path.join(cwd, path))
for d in os.listdir(cwd): for d in os.listdir(cwd):
p = os.path.join(cwd, d, 'SConscript'); p = os.path.join(d, 'SConscript');
if os.path.isfile(p): if os.path.isfile(os.path.join(cwd, p)):
objs = objs + SConscript(p) objs = objs + SConscript(p)
Return('objs') Return('objs')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册