rebuild the directory organization of simulator

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2389 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
goprife@gmail.com
2012-11-04 05:52:14 +00:00
parent bfc30136ef
commit 6e242e0529
14 changed files with 1429 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
# remove no need file.
if GetDepend('RT_USING_LWIP') == False:
SrcRemove(src, 'emac.c')
if GetDepend('RT_USING_DFS') == False:
SrcRemove(src, 'sd.c')
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')