mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
lpc43xx: fix the SConscripts
This commit is contained in:
1 parent
03a2847f12
commit
fcff552626
2 files changed
+10
-10
No files matched your search
@@ -5,13 +5,13 @@ objs = []
|
||||
|
||||
for d in os.listdir(os.path.join(cwd, '..')):
|
||||
if d not in ('M0', 'M4'):
|
||||
path = os.path.join(cwd, '..', d, 'SConscript')
|
||||
if os.path.isfile(path):
|
||||
objs = objs + SConscript(path)
|
||||
path = os.path.join('..', d, 'SConscript')
|
||||
if os.path.isfile(os.path.join(cwd, path)):
|
||||
objs = objs + SConscript(os.path.join(cwd, path))
|
||||
|
||||
for d in os.listdir(cwd):
|
||||
p = os.path.join(cwd, d, 'SConscript');
|
||||
if os.path.isfile(p):
|
||||
p = os.path.join(d, 'SConscript');
|
||||
if os.path.isfile(os.path.join(cwd, p)):
|
||||
objs = objs + SConscript(p)
|
||||
|
||||
Return('objs')
|
||||
@@ -5,13 +5,13 @@ objs = []
|
||||
|
||||
for d in os.listdir(os.path.join(cwd, '..')):
|
||||
if d not in ('M0', 'M4'):
|
||||
path = os.path.join(cwd, '..', d, 'SConscript')
|
||||
if os.path.isfile(path):
|
||||
objs = objs + SConscript(path)
|
||||
path = os.path.join('..', d, 'SConscript')
|
||||
if os.path.isfile(os.path.join(cwd, path)):
|
||||
objs = objs + SConscript(os.path.join(cwd, path))
|
||||
|
||||
for d in os.listdir(cwd):
|
||||
p = os.path.join(cwd, d, 'SConscript');
|
||||
if os.path.isfile(p):
|
||||
p = os.path.join(d, 'SConscript');
|
||||
if os.path.isfile(os.path.join(cwd, p)):
|
||||
objs = objs + SConscript(p)
|
||||
|
||||
Return('objs')
|
||||
Reference in new issue
Block a user