summaryrefslogtreecommitdiff
path: root/bsp/CME_M7/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/CME_M7/SConstruct')
-rw-r--r--bsp/CME_M7/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/CME_M7/SConstruct b/bsp/CME_M7/SConstruct
index 4ea0c04a0b..2a4dd7ac50 100644
--- a/bsp/CME_M7/SConstruct
+++ b/bsp/CME_M7/SConstruct
@@ -16,7 +16,7 @@ env = Environment(tools = ['mingw'],
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
-if rtconfig.PLATFORM == 'iar':
+if rtconfig.PLATFORM in ['iccarm']:
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])