From 4bddee6b099241711c1ad0a77d1a44bf4b4c0708 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 21 Jun 2006 03:01:40 +0000 Subject: [PATCH] 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 --- scripts/gen_deps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl index 32bf1f5dfb..04998715d4 100755 --- a/scripts/gen_deps.pl +++ b/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) { -- 2.11.0