diff options
| author | tangyuxin <[email protected]> | 2019-01-19 15:16:14 +0800 |
|---|---|---|
| committer | tangyuxin <[email protected]> | 2019-01-19 15:16:14 +0800 |
| commit | ed725350a99b3e0406ff29ff9157abd6fb5044f6 (patch) | |
| tree | d277ee4c2538e00f5a9d31cc0827c0aaa6374c9f /bsp/amebaz | |
| parent | 7dcacc164734f53cc77baa401688a01874e32098 (diff) | |
[tools] 修复命令行使用 iar 工具链,库文件链接不上的问题
Diffstat (limited to 'bsp/amebaz')
| -rw-r--r-- | bsp/amebaz/SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/amebaz/SConstruct b/bsp/amebaz/SConstruct index 19506eba01..713fe15443 100644 --- a/bsp/amebaz/SConstruct +++ b/bsp/amebaz/SConstruct @@ -27,7 +27,7 @@ env.PrependENVPath('PATH', rtconfig.EXEC_PATH) if rtconfig.PLATFORM == 'iar': env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES']) env.Replace(ARFLAGS = ['']) - env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map']) + env.Replace(LINKCOM = env["LINKCOM"] + ' --map project.map') Export('RTT_ROOT') Export('rtconfig') |
