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

Merge pull request #946 from ArdaFu/master

[tools] menuconfig.py. Fix config line split error.
...@@ -33,7 +33,7 @@ def mk_rtconfig(filename): ...@@ -33,7 +33,7 @@ def mk_rtconfig(filename):
empty_line = 0 empty_line = 0
else: else:
empty_line = 0 empty_line = 0
setting = line.split('=') setting = line.split('=', 1)
if len(setting) >= 2: if len(setting) >= 2:
if setting[0].startswith('CONFIG_'): if setting[0].startswith('CONFIG_'):
setting[0] = setting[0][7:] setting[0] = setting[0][7:]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册