1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00

don't generate invalid dependency lines in sdk mode

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4035 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-06-21 03:01:40 +00:00
parent 211af51534
commit 4bddee6b09

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