diff options
| author | [email protected] <[email protected]> | 2012-11-23 13:40:31 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-23 13:40:31 +0000 |
| commit | 5057b28523222b9f7fb2014d3d3aa9d9f497aeba (patch) | |
| tree | dff2184d14929c9ed479cac59244ba0afb06f873 /bsp/simulator/snake/SConscript | |
| parent | 60fc67cb3d09cdab624ea51dfaecefeb6559a250 (diff) | |
add snake demo (run in realtouch)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2439 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/simulator/snake/SConscript')
| -rw-r--r-- | bsp/simulator/snake/SConscript | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bsp/simulator/snake/SConscript b/bsp/simulator/snake/SConscript new file mode 100644 index 0000000000..e97a5018a5 --- /dev/null +++ b/bsp/simulator/snake/SConscript @@ -0,0 +1,20 @@ +from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+
+# remove no need file.
+if GetDepend('RT_USING_RTGUI') == False:
+ SrcRemove(src, 'sdl_fb.c')
+if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_DFS_ELMFAT') == False:
+ SrcRemove(src, 'sd_sim.c')
+if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_DFS_UFFS') == False:
+ SrcRemove(src, 'nand_sim.c')
+if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_DFS_JFFS2') == False:
+ SrcRemove(src, 'sst25vfxx_mtd_sim.c')
+
+CPPPATH = [cwd]
+
+group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')
|
