4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 17:29:23 +08:00
Grissiom d33df46f19 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'):
2014-10-08 18:03:12 +08:00
..
2013-09-07 18:31:05 +08:00
2013-02-02 17:36:34 +08:00
2012-01-08 03:14:19 +00:00
2014-10-08 18:03:12 +08:00
2013-01-08 05:05:02 -08:00
2014-03-25 10:04:48 +08:00
2012-02-19 09:11:35 +00:00
2013-01-08 05:05:02 -08:00