diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-21 03:01:40 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-21 03:01:40 +0000 |
commit | 4bddee6b099241711c1ad0a77d1a44bf4b4c0708 (patch) | |
tree | 4d84bbecc199444f0542609c104810115f2e935a | |
parent | 211af51534060df7e58158037a6ff701f44f780e (diff) |
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
-rwxr-xr-x | scripts/gen_deps.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |