Ver código fonte

fix kconfig.pl split for config symbols that have "0" as value

SVN-Revision: 8847
Felix Fietkau 18 anos atrás
pai
commit
15bc93fc03
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      scripts/kconfig.pl

+ 1 - 1
scripts/kconfig.pl

@@ -72,7 +72,7 @@ sub config_diff($$) {
 	my %config;
 	
 	foreach my $config (keys %$cfg2) {
-		if (!$cfg1->{$config} or $cfg1->{$config} ne $cfg2->{$config}) {
+		if (!defined($cfg1->{$config}) or $cfg1->{$config} ne $cfg2->{$config}) {
 			$config{$config} = $cfg2->{$config};
 		}
 	}