[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链

This commit is contained in:
Meco Man
2022-06-09 07:01:59 +08:00
committed by guo
parent e622ef3aec
commit 50f041f5c2
236 changed files with 244 additions and 244 deletions
@@ -110,7 +110,7 @@ if GetDepend(['BSP_USING_GBE']):
startup_path_prefix = SDK_LIB
if rtconfig.PLATFORM == 'gcc':
if rtconfig.PLATFORM in ['gcc']:
src += [startup_path_prefix + '/STM32MPxx_HAL/CMSIS/Device/ST/STM32MP1xx/Source/Templates/gcc/startup_stm32mp15xx.s']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/STM32MPxx_HAL/CMSIS/Device/ST/STM32MP1xx/Source/Templates/arm/startup_stm32mp15xx.s']