From 50f041f5c2fb69b06283f54ce4619a08751d9367 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 30 May 2022 18:04:05 -0400 Subject: [Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/smartfusion2/CMSIS/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsp/smartfusion2/CMSIS/SConscript') diff --git a/bsp/smartfusion2/CMSIS/SConscript b/bsp/smartfusion2/CMSIS/SConscript index 157d672a0b..0d75bbaf8a 100644 --- a/bsp/smartfusion2/CMSIS/SConscript +++ b/bsp/smartfusion2/CMSIS/SConscript @@ -4,7 +4,7 @@ import rtconfig cwd = GetCurrentDir() src = Glob('*.c') -if rtconfig.PLATFORM == 'gcc': +if rtconfig.PLATFORM in ['gcc']: src += ['startup_gcc/startup_m2sxxx.S'] elif rtconfig.PLATFORM in ['armcc', 'armclang']: -- cgit v1.3.1