diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-21 03:01:40 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-21 03:01:40 +0000 |
commit | cf846881e7560ca7391727d2de2478d065d9d50a (patch) | |
tree | 4d84bbecc199444f0542609c104810115f2e935a | |
parent | 4686298b311b4564005ad60ed45d367e7aa42bbe (diff) | |
download | upstream-cf846881e7560ca7391727d2de2478d065d9d50a.tar.gz upstream-cf846881e7560ca7391727d2de2478d065d9d50a.tar.bz2 upstream-cf846881e7560ca7391727d2de2478d065d9d50a.zip |
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) { |