don't generate invalid dependency lines in sdk mode

SVN-Revision: 4035
This commit is contained in:
Felix Fietkau 2006-06-21 03:01:40 +00:00
parent 00dee08dd9
commit fb710194e7
1 changed files with 1 additions and 1 deletions

View File

@ -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) {