aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/streamline_config.pl8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 79d85573ee0..177490540fe 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -237,13 +237,11 @@ while ($repeat) {
foreach my $config (keys %configs) {
$config =~ s/^CONFIG_//;
- if (!defined($depends{$config})) {
- next;
+ if (defined($depends{$config})) {
+ # This config has dependencies. Make sure they are also included
+ parse_config_dep_select $depends{$config};
}
- # This config has dependencies. Make sure they are also included
- parse_config_dep_select $depends{$config};
-
if (defined($prompt{$config}) || !defined($selects{$config})) {
next;
}