From: Felix Fietkau Date: Wed, 21 Jun 2006 03:01:40 +0000 (+0000) Subject: don't generate invalid dependency lines in sdk mode X-Git-Tag: reboot~30718^2~504 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fb710194e7f8192fb6e6d9f1d4e6e9e481f03c97;p=openwrt%2Fopenwrt.git don't generate invalid dependency lines in sdk mode SVN-Revision: 4035 --- diff --git a/openwrt/scripts/gen_deps.pl b/openwrt/scripts/gen_deps.pl index 32bf1f5dfb..04998715d4 100755 --- a/openwrt/scripts/gen_deps.pl +++ b/openwrt/scripts/gen_deps.pl @@ -52,7 +52,7 @@ foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) { my $idx; if (defined $pkg{$dep}->{src}) { ($pkg{$name}->{src} ne $pkg{$dep}->{src}) and $idx = $pkg{$dep}->{src}; - } elsif (defined $pkg{$dep}) { + } elsif (defined($pkg{$dep}) && !$options{SDK}) { $idx = $dep; } if ($idx) {