forked from mkvoya/rt-thread
If the src is empty list, it will crash at:
IndexError: list index out of range:
File "/home/xxx/src/SConstruct", line 39:
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=True)
...
File "/home/xxx/src/drivers/SConscript", line 12:
SrcRemove(src, src_need_remove)
File "/home/rt-thread-stable/tools/building.py", line 496:
if type(src[0]) == type('str'):
|
||
|---|---|---|
| .. | ||
| tools | ||
| auto-ci.py | ||
| buildbot.py | ||
| building.py | ||
| codeblocks.py | ||
| cscope.py | ||
| iar.py | ||
| keil.py | ||
| sconsui.py | ||
| template.cbp | ||
| ua.py | ||
| utils.py | ||
| vs.py | ||
| vs2012.py | ||
| win32spawn.py | ||
| wizard.py | ||