diff options
| author | prife <[email protected]> | 2013-07-22 23:02:03 +0800 |
|---|---|---|
| committer | prife <[email protected]> | 2013-07-22 23:02:03 +0800 |
| commit | 8846ac8c40666c3b8fb366de5aa5d94f5be20f98 (patch) | |
| tree | 2ccc77d0c040201bb6ab77000f398d19e6cdc5dd /bsp/simulator/drivers/SConscript | |
| parent | b96b35613f2cdc8118f083a3e2795788915319d7 (diff) | |
simulator: update to support simulator for linux
Diffstat (limited to 'bsp/simulator/drivers/SConscript')
| -rw-r--r-- | bsp/simulator/drivers/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bsp/simulator/drivers/SConscript b/bsp/simulator/drivers/SConscript index 2f84e1db02..d939535da8 100644 --- a/bsp/simulator/drivers/SConscript +++ b/bsp/simulator/drivers/SConscript @@ -1,3 +1,4 @@ +import sys from building import * cwd = GetCurrentDir() @@ -16,6 +17,9 @@ if GetDepend('RT_USING_DFS_WINSHAREDIR') == False: SrcRemove(src, 'dfs_win32.c') if GetDepend('RT_USING_MODULE') == False: SrcRemove(src, ['module_win32.c']) +if sys.platform[0:5]=="linux": #check whether under linux + SrcRemove(src, ['module_win32.c', 'dfs_win32.c']) + CPPPATH = [cwd] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) |
