Browse Source

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

SVN-Revision: 8847
Felix Fietkau 18 years ago
parent
commit
15bc93fc03
1 changed files with 1 additions and 1 deletions
  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};
 		}
 	}