From fb710194e7f8192fb6e6d9f1d4e6e9e481f03c97 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 21 Jun 2006 03:01:40 +0000 Subject: [PATCH] don't generate invalid dependency lines in sdk mode SVN-Revision: 4035 --- openwrt/scripts/gen_deps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {