summaryrefslogtreecommitdiff
path: root/bsp/simulator/SConstruct
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-09-30 16:26:40 +0800
committerBernard Xiong <[email protected]>2015-09-30 16:26:40 +0800
commit7e45f059dce0a7751beef09e5ac122a83d731c5b (patch)
treef12f0189df20a8541c175b144400e795483413b6 /bsp/simulator/SConstruct
parent4ab8ea53c220f64263207ef40ff33cb5e52bceb3 (diff)
[BSP] Update simualtor bsp for Win32/MSVC
Diffstat (limited to 'bsp/simulator/SConstruct')
-rwxr-xr-xbsp/simulator/SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct
index 760002d80d..4283082d04 100755
--- a/bsp/simulator/SConstruct
+++ b/bsp/simulator/SConstruct
@@ -88,7 +88,7 @@ def ObjRemove(objs, remove):
# build program -shared
if GetDepend('RT_USING_MODULE'):
# Remove module.c in $RTT_ROOT/src
- ObjRemove(objs, ['module.obj', 'module.o'])
+ ObjRemove(objs, ['module.obj', 'module.o', 'module.c'])
AddOption('--def',
dest='def',
@@ -99,7 +99,7 @@ if GetDepend('RT_USING_MODULE'):
if rtconfig.PLATFORM == 'mingw':
env['LINKFLAGS'] = rtconfig.DEFFILE_LFLAGS
else:
- rtconfig.POST_ACTION = 'createdef.py $TARGET rtthread.def'
+ rtconfig.POST_ACTION = 'python createdef.py $TARGET rtthread.def'
program = env.Program(TARGET, objs)
else: