]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
localmodconfig: Add missing $ to reference a variable
authorBenjamin Poirier <bpoirier@suse.com>
Mon, 11 Apr 2016 00:06:32 +0000 (17:06 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 26 Apr 2016 14:06:59 +0000 (10:06 -0400)
That is clearly what the original intention was. This does not change the
output .config but it prevents some useless processing.

! eq "m" is changed to the simpler eq "y"; symbols with values other than
m|y are not included in %orig_configs.

Link: http://lkml.kernel.org/r/1460333193-16361-3-git-send-email-bpoirier@suse.com
Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/kconfig/streamline_config.pl

index b2f904a24c5c1ad9978efb39aa0879bd8c5bba65..01b53eccfe2f675ee33b37a8c9d9f2e2dc031810 100755 (executable)
@@ -454,7 +454,7 @@ sub parse_config_depends
            $p =~ s/^[^$valid]*[$valid]+//;
 
            # We only need to process if the depend config is a module
-           if (!defined($orig_configs{$conf}) || !$orig_configs{conf} eq "m") {
+           if (!defined($orig_configs{$conf}) || $orig_configs{$conf} eq "y") {
                next;
            }