mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-25 13:16:03 +08:00
Merge pull request #946 from ArdaFu/master
[tools] menuconfig.py. Fix config line split error.
This commit is contained in:
+1
-1
@@ -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:]
|
||||
|
||||
Reference in New Issue
Block a user