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:
parent
6bd0252e26
commit
7dc3ec9b75
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue