]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - scripts/kconfig/streamline_config.pl
localmodconfig: Add debug prints for dependencies of module configs
[mirror_ubuntu-jammy-kernel.git] / scripts / kconfig / streamline_config.pl
index 33689396953a7e46d5152df204ddb802ec4b2a39..343a56863660a44130068dbfbb8ab63f9fb1b1fd 100644 (file)
@@ -396,6 +396,15 @@ foreach my $module (keys(%modules)) {
        foreach my $conf (@arr) {
            $configs{$conf} = $module;
            dprint "$conf added by direct ($module)\n";
+           if ($debugprint) {
+               my $c=$conf;
+               $c =~ s/^CONFIG_//;
+               if (defined($depends{$c})) {
+                   dprint " deps = $depends{$c}\n";
+               } else {
+                   dprint " no deps\n";
+               }
+           }
        }
     } else {
        # Most likely, someone has a custom (binary?) module loaded.