From 7c9075dfb2104089c03465a98b3b7e9841250816 Mon Sep 17 00:00:00 2001 From: ArdaFu Date: Fri, 3 Nov 2017 15:01:41 +0800 Subject: [PATCH] [tools]menuconfig.py. Fix config line split error when config line contains more then one equal marks. --- tools/menuconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/menuconfig.py b/tools/menuconfig.py index ccc4c99e9b..9821f48ccb 100644 --- a/tools/menuconfig.py +++ b/tools/menuconfig.py @@ -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:]