summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2014-10-08 17:53:26 +0800
committerGrissiom <[email protected]>2014-10-08 18:04:08 +0800
commit4d2972a85f654a7d699a758c26793a029fb5f960 (patch)
tree95eaf6ad6d40f311c09a4fa98ee016bf73c856e5 /src
parent8b8d69f66e5296bcb5a215b91d879ac14aa3e3fc (diff)
tools: fix SrcRemove on empty src
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'): Commit d33df46f1921f241199e7520e384e851840571ef in master.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions