From f9927adc414b34fcd3495a2c068d100acb50c8bf Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sat, 30 Mar 2013 21:04:28 +0100 Subject: [PATCH] parse "menuconfig" as local symbol --- lib/kconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kconfig.py b/lib/kconfig.py index 25bc81134f26..3ea534a8d2d1 100644 --- a/lib/kconfig.py +++ b/lib/kconfig.py @@ -6,7 +6,7 @@ import os, re src_line = re.compile(r'^source\s+"?(?P[^\s"]*)"?\s*$') tri_line = re.compile(r'^(?P\s+)tristate') -cfg_line = re.compile(r'^config\s+(?P[^\s]*)') +cfg_line = re.compile(r'^(config|menuconfig)\s+(?P[^\s]*)') sel_line = re.compile(r'^(?P\s+)select\s+(?P[^\s]*)\s*$') class ConfigTree(object): -- 2.30.2