aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-19 20:55:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-19 20:55:05 +0000
commit15bc93fc03a97dc583b548aa4f57081ec15fe545 (patch)
tree68ddac909a42dd5502fa688f63406d9ca00ff290 /scripts/kconfig.pl
parentabbe02e2fb64cb3f556c93b4ec4af34c4b40dec6 (diff)
downloadupstream-15bc93fc03a97dc583b548aa4f57081ec15fe545.tar.gz
upstream-15bc93fc03a97dc583b548aa4f57081ec15fe545.tar.bz2
upstream-15bc93fc03a97dc583b548aa4f57081ec15fe545.zip
fix kconfig.pl split for config symbols that have "0" as value
SVN-Revision: 8847
Diffstat (limited to 'scripts/kconfig.pl')
-rwxr-xr-xscripts/kconfig.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig.pl b/scripts/kconfig.pl
index 53b8f11025..181b35ad47 100755
--- a/scripts/kconfig.pl
+++ b/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};
}
}