diff options
| author | [email protected] <[email protected]> | 2012-11-04 05:52:14 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-04 05:52:14 +0000 |
| commit | 6e242e05298d024a4b612783489547e305f91c6c (patch) | |
| tree | 95601c7d2981c5e8c3c8afe4ce3a2a5b61eafea9 /bsp/simulator/drivers/SConscript | |
| parent | bfc30136ef49852698fbbcb7a244f3463accd931 (diff) | |
rebuild the directory organization of simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2389 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/simulator/drivers/SConscript')
| -rw-r--r-- | bsp/simulator/drivers/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/simulator/drivers/SConscript b/bsp/simulator/drivers/SConscript new file mode 100644 index 0000000000..6a3cfe2b47 --- /dev/null +++ b/bsp/simulator/drivers/SConscript @@ -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')
|
