Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lfmiao0
rt-thread
提交
e78eeb8a
R
rt-thread
项目概览
lfmiao0
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
e78eeb8a
编写于
1月 19, 2019
作者:
B
Bernard Xiong
提交者:
GitHub
1月 19, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2237 from enkiller/dev
[tools] 修复命令行使用 iar 工具链,库文件链接不上的问题
上级
7dcacc16
ed725350
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
36 addition
and
29 deletion
+36
-29
bsp/amebaz/SConstruct
bsp/amebaz/SConstruct
+1
-1
bsp/gd32303e-eval/SConstruct
bsp/gd32303e-eval/SConstruct
+1
-1
bsp/gd32450z-eval/SConstruct
bsp/gd32450z-eval/SConstruct
+1
-1
bsp/imxrt/imxrt1050-ArchMix/SConstruct
bsp/imxrt/imxrt1050-ArchMix/SConstruct
+1
-1
bsp/imxrt/imxrt1050-evk/SConstruct
bsp/imxrt/imxrt1050-evk/SConstruct
+1
-1
bsp/imxrt1052-evk/SConstruct
bsp/imxrt1052-evk/SConstruct
+3
-3
bsp/lpc54114-lite/SConstruct
bsp/lpc54114-lite/SConstruct
+1
-1
bsp/lpc824/SConstruct
bsp/lpc824/SConstruct
+3
-3
bsp/mb9bf500r/SConstruct
bsp/mb9bf500r/SConstruct
+3
-3
bsp/mb9bf506r/SConstruct
bsp/mb9bf506r/SConstruct
+3
-3
bsp/mb9bf618s/SConstruct
bsp/mb9bf618s/SConstruct
+3
-3
bsp/nuvoton_nuc472/SConstruct
bsp/nuvoton_nuc472/SConstruct
+3
-3
bsp/swm320-lq100/SConstruct
bsp/swm320-lq100/SConstruct
+3
-3
bsp/upd70f3454/SConstruct
bsp/upd70f3454/SConstruct
+2
-2
tools/building.py
tools/building.py
+7
-0
未找到文件。
bsp/amebaz/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -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'
)
...
...
bsp/gd32303e-eval/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -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'
)
...
...
bsp/gd32450z-eval/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -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'
)
...
...
bsp/imxrt/imxrt1050-ArchMix/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -35,7 +35,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'
)
...
...
bsp/imxrt/imxrt1050-evk/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -35,7 +35,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'
)
...
...
bsp/imxrt1052-evk/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -34,9 +34,9 @@ else:
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
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
ARFLAGS
=
[
''
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map project.map'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
bsp/lpc54114-lite/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -28,7 +28,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'
)
...
...
bsp/lpc824/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -22,9 +22,9 @@ env = Environment(tools = ['mingw'],
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
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
ARFLAGS
=
[
''
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map project.map'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
bsp/mb9bf500r/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -20,9 +20,9 @@ env = Environment(tools = ['mingw'],
env
.
PrependENVPath
(
'PATH'
,
rtconfig
.
EXEC_PATH
)
if
rtconfig
.
PLATFORM
==
'iar'
:
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
LINKCOM
=
[
'$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map
'
])
env
.
Replace
(
ARFLAGS
=
'
'
)
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
ARFLAGS
=
[
'
'
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map project.map
'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
bsp/mb9bf506r/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -20,9 +20,9 @@ env = Environment(tools = ['mingw'],
env
.
PrependENVPath
(
'PATH'
,
rtconfig
.
EXEC_PATH
)
if
rtconfig
.
PLATFORM
==
'iar'
:
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
LINKCOM
=
[
'$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map
'
])
env
.
Replace
(
ARFLAGS
=
'
'
)
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
ARFLAGS
=
[
'
'
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map project.map
'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
bsp/mb9bf618s/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -20,9 +20,9 @@ env = Environment(tools = ['mingw'],
env
.
PrependENVPath
(
'PATH'
,
rtconfig
.
EXEC_PATH
)
if
rtconfig
.
PLATFORM
==
'iar'
:
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
LINKCOM
=
[
'$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map
'
])
env
.
Replace
(
ARFLAGS
=
'
'
)
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
ARFLAGS
=
[
'
'
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map project.map
'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
bsp/nuvoton_nuc472/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -20,9 +20,9 @@ env = Environment(tools = ['mingw'],
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
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
ARFLAGS
=
[
''
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map project.map'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
bsp/swm320-lq100/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -25,9 +25,9 @@ env = Environment(tools = ['mingw'],
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 rtthread.map'
]
)
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
ARFLAGS
=
[
''
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map project.map'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
bsp/upd70f3454/SConstruct
浏览文件 @
e78eeb8a
...
...
@@ -21,8 +21,8 @@ env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
if
rtconfig
.
PLATFORM
==
'iar'
:
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
LINKCOM
=
[
'$LINK $SOURCES $LINKFLAGS -f lnk70f3454.xcl -l rtthread.map -Omotorola-s28=$TARGET
'
])
env
.
Replace
(
ARFLAGS
=
'
'
)
env
.
Replace
(
ARFLAGS
=
[
'
'
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map project.map
'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
tools/building.py
浏览文件 @
e78eeb8a
...
...
@@ -273,6 +273,13 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
env
[
'LIBLINKSUFFIX'
]
=
'.lib'
env
[
'LIBDIRPREFIX'
]
=
'--userlibpath '
elif
rtconfig
.
PLATFORM
==
'iar'
:
env
[
'LIBPREFIX'
]
=
''
env
[
'LIBSUFFIX'
]
=
'.a'
env
[
'LIBLINKPREFIX'
]
=
''
env
[
'LIBLINKSUFFIX'
]
=
'.a'
env
[
'LIBDIRPREFIX'
]
=
'--search '
# patch for win32 spawn
if
env
[
'PLATFORM'
]
==
'win32'
:
win32_spawn
=
Win32Spawn
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录