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

SVN-Revision: 8847
This commit is contained in:
Felix Fietkau 2007-09-19 20:55:05 +00:00
parent abbe02e2fb
commit 15bc93fc03

View file

@ -72,7 +72,7 @@ sub config_diff($$) {
my %config; my %config;
foreach my $config (keys %$cfg2) { 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}; $config{$config} = $cfg2->{$config};
} }
} }