summaryrefslogtreecommitdiff
path: root/libcpu/SConscript
diff options
context:
space:
mode:
authorprife <[email protected]>2013-02-26 16:03:08 +0800
committerprife <[email protected]>2013-02-26 16:03:08 +0800
commit9ccdf4172ee0fc3e7fe8ac0db122a81572e9c0f8 (patch)
treed46136702ab7898c6ac2488447a7d548ff76a252 /libcpu/SConscript
parent278cc914b3ba76a0c7a6b46d23f0f1bbc7491331 (diff)
basic mingw support for simulator: kernel and finsh
Diffstat (limited to 'libcpu/SConscript')
-rw-r--r--libcpu/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcpu/SConscript b/libcpu/SConscript
index a1609d5fd3..0d00976092 100644
--- a/libcpu/SConscript
+++ b/libcpu/SConscript
@@ -18,6 +18,9 @@ if rtconfig.PLATFORM == 'iar':
if rtconfig.PLATFORM == 'cl':
src = Glob(path + '/*.c')
+if rtconfig.PLATFORM == 'mingw':
+ src = Glob(path + '/*.c')
+
CPPPATH = [RTT_ROOT + '/libcpu/' + rtconfig.ARCH + '/' + rtconfig.CPU, RTT_ROOT + '/libcpu/' + rtconfig.ARCH + '/common']
group = DefineGroup(rtconfig.CPU.upper(), src, depend = [''], CPPPATH = CPPPATH)