diff options
Diffstat (limited to 'bsp/smartfusion2/CMSIS/SConscript')
| -rw-r--r-- | bsp/smartfusion2/CMSIS/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/smartfusion2/CMSIS/SConscript b/bsp/smartfusion2/CMSIS/SConscript index 653a3b7fc6..157d672a0b 100644 --- a/bsp/smartfusion2/CMSIS/SConscript +++ b/bsp/smartfusion2/CMSIS/SConscript @@ -4,10 +4,10 @@ import rtconfig cwd = GetCurrentDir() src = Glob('*.c') -if rtconfig.CROSS_TOOL == 'gcc': +if rtconfig.PLATFORM == 'gcc': src += ['startup_gcc/startup_m2sxxx.S'] -elif rtconfig.CROSS_TOOL == 'keil': +elif rtconfig.PLATFORM in ['armcc', 'armclang']: src += ['startup_arm/startup_m2sxxx.s'] CPPPATH = [cwd] |
