mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
This commit is contained in:
@@ -26,7 +26,7 @@ if GetDepend('RT_USING_GIC_V3'):
|
||||
if rtconfig.PLATFORM in ['armcc', 'armclang']:
|
||||
src += Glob('*_rvds.S')
|
||||
|
||||
if rtconfig.PLATFORM == 'gcc':
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
src += Glob('*_init.S')
|
||||
src += Glob('*_gcc.S')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user