summaryrefslogtreecommitdiff
path: root/bsp/lpc824/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/lpc824/SConstruct')
-rw-r--r--bsp/lpc824/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/lpc824/SConstruct b/bsp/lpc824/SConstruct
index bd588f5ae0..f0545203db 100644
--- a/bsp/lpc824/SConstruct
+++ b/bsp/lpc824/SConstruct
@@ -22,7 +22,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 = env["LINKCOM"] + ' --map project.map')