[tools]menuconfig.py. Fix config line split error when config line contains more then one equal marks.

This commit is contained in:
ArdaFu 2017-11-03 15:01:41 +08:00
parent 7bc305bd8d
commit 7c9075dfb2
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def mk_rtconfig(filename):
empty_line = 0
else:
empty_line = 0
setting = line.split('=')
setting = line.split('=', 1)
if len(setting) >= 2:
if setting[0].startswith('CONFIG_'):
setting[0] = setting[0][7:]