Explorar o código

update SrcRemove function in building script.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1831 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com %!s(int64=13) %!d(string=hai) anos
pai
achega
7dc3ec9b75
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      bsp/lm4f232/drivers/SConscript

+ 2 - 4
bsp/lm4f232/drivers/SConscript

@@ -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)