update SrcRemove function in building script.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1831 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2011-12-10 13:15:22 +00:00
parent 6bd0252e26
commit 7dc3ec9b75
1 changed files with 2 additions and 4 deletions

View File

@ -9,12 +9,10 @@ CPPPATH = [cwd]
# remove no need file.
if GetDepend('RT_USING_LWIP') == False:
src_need_remove = ['luminaryif.c'] # need remove file list.
src = SrcRemove(src, src_need_remove)
SrcRemove(src, ['luminaryif.c']) # need remove file list.
if GetDepend('RT_USING_DFS') == False:
src_need_remove = ['sdcard.c'] # need remove file list.
src = SrcRemove(src, src_need_remove)
SrcRemove(src, ['sdcard.c']) # need remove file list.
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)