未验证 提交 d1ba07a4 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3474 from Guozhanxin/rtt_master

修复 scons --target=eclipse 时,部分带值宏出错的问题
......@@ -228,7 +228,7 @@ def HandleToolOption(tools, env, project, reset):
with open('rtconfig_preinc.h', mode = 'w+') as f:
f.write(file_header)
for cppdef in CPPDEFINES:
f.write("#define " + cppdef + '\n')
f.write("#define " + cppdef.replace('=', ' ') + '\n')
f.write(file_tail)
# change the c.compiler.include.files
files = option.findall('listOptionValue')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册