diff options
| author | Meco Man <[email protected]> | 2022-05-30 18:11:15 -0400 |
|---|---|---|
| committer | guo <[email protected]> | 2022-06-09 07:01:59 +0800 |
| commit | 83b3aadaa30f60fe011bf05f9212e2f583183d10 (patch) | |
| tree | 2c71de66189a2d5edb283c3ecdd8443c3057039c /libcpu/arm/arm926 | |
| parent | 50f041f5c2fb69b06283f54ce4619a08751d9367 (diff) | |
[Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
Diffstat (limited to 'libcpu/arm/arm926')
| -rw-r--r-- | libcpu/arm/arm926/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/arm926/SConscript b/libcpu/arm/arm926/SConscript index 4d100197fd..3760ab5ea1 100644 --- a/libcpu/arm/arm926/SConscript +++ b/libcpu/arm/arm926/SConscript @@ -17,7 +17,7 @@ if rtconfig.PLATFORM in ['gcc']: src += Glob('*_init.S') src += Glob('*_gcc.S') -if rtconfig.PLATFORM == 'iar': +if rtconfig.PLATFORM in ['iccarm']: src += Glob('*_iar.S') group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH, ASFLAGS = ASFLAGS) |
