提交 b498aa0d 编写于 作者: wuyangyong's avatar wuyangyong

use new srcremove.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1870 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 646c1443
......@@ -9,13 +9,7 @@ src = Glob('*.c')
# remove no need file.
if GetDepend('RT_USING_LWIP') == False:
src_need_remove = ['emac.c'] # need remove file list.
src_tmp = copy.copy(src)
count = 0
for i in range(0, len(src_tmp)):
s = os.path.basename(str(src_tmp[i]))
if s in src_need_remove:
src.pop(i-count)
count = count + 1
SrcRemove(src, src_need_remove)
CPPPATH = [cwd]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册