mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 01:10:20 +08:00
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
This commit is contained in:
@@ -11,7 +11,7 @@ CPPPATH = [cwd + '/NXP/LPC407x_8x_177x_8x/Include', cwd + '/../CMSIS/Include']
|
||||
CPPDEFINES = ['CORE_M4']
|
||||
|
||||
# add for startup script
|
||||
if rtconfig.PLATFORM == 'gcc':
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
src += ['NXP/LPC407x_8x_177x_8x/Source/Templates/GCC/startup_LPC407x_8x_177x_8x.s']
|
||||
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
||||
src += ['NXP/LPC407x_8x_177x_8x/Source/Templates/ARM/startup_LPC407x_8x_177x_8x.s']
|
||||
|
||||
Reference in New Issue
Block a user