diff options
| -rw-r--r-- | scripts/kconfig/streamline_config.pl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 79d85573ee0f..177490540fe6 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl | |||
| @@ -237,13 +237,11 @@ while ($repeat) { | |||
| 237 | foreach my $config (keys %configs) { | 237 | foreach my $config (keys %configs) { |
| 238 | $config =~ s/^CONFIG_//; | 238 | $config =~ s/^CONFIG_//; |
| 239 | 239 | ||
| 240 | if (!defined($depends{$config})) { | 240 | if (defined($depends{$config})) { |
| 241 | next; | 241 | # This config has dependencies. Make sure they are also included |
| 242 | parse_config_dep_select $depends{$config}; | ||
| 242 | } | 243 | } |
| 243 | 244 | ||
| 244 | # This config has dependencies. Make sure they are also included | ||
| 245 | parse_config_dep_select $depends{$config}; | ||
| 246 | |||
| 247 | if (defined($prompt{$config}) || !defined($selects{$config})) { | 245 | if (defined($prompt{$config}) || !defined($selects{$config})) { |
| 248 | next; | 246 | next; |
| 249 | } | 247 | } |
