From 7c49322cb88178217e09c793e8b05bf274dcace8 Mon Sep 17 00:00:00 2001 From: hiromu yagura Date: Sun, 15 Aug 2010 13:13:17 +0900 Subject: [PATCH] --- yaml --- r: 220971 b: refs/heads/master c: ccece60ac69608c496b07c0d31a68894db0a22b3 h: refs/heads/master i: 220969: e291e55c7df6acdfa95f9f694e4b7ec78c12bb8b 220967: 544613a7d8671b623a1e151bc6d9af296b2875b5 v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/streamline_config.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 6ca86bd74b49..80f191698e3f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4908980b241bc639b71ef47b727b4bc7c0174afe +refs/heads/master: ccece60ac69608c496b07c0d31a68894db0a22b3 diff --git a/trunk/scripts/kconfig/streamline_config.pl b/trunk/scripts/kconfig/streamline_config.pl index cc10bcfda64f..3c63aa943ee3 100644 --- a/trunk/scripts/kconfig/streamline_config.pl +++ b/trunk/scripts/kconfig/streamline_config.pl @@ -188,7 +188,7 @@ sub read_kconfig { # configs without prompts must be selected } elsif ($state ne "NONE" && /^\s*tristate\s\S/) { # note if the config has a prompt - $prompt{$config} = 1; + $prompts{$config} = 1; # Check for if statements } elsif (/^if\s+(.*\S)\s*$/) { @@ -373,7 +373,7 @@ sub parse_config_dep_select parse_config_dep_select $depends{$config}; } - if (defined($prompt{$config}) || !defined($selects{$config})) { + if (defined($prompts{$config}) || !defined($selects{$config})) { next; }