X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/211af51534060df7e58158037a6ff701f44f780e..6ab92cab84ccfa359f400cd6e4fa82f12c8e4bfe:/scripts/gen_deps.pl diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl index 32bf1f5df..0cdcc97a1 100755 --- a/scripts/gen_deps.pl +++ b/scripts/gen_deps.pl @@ -1,4 +1,11 @@ #!/usr/bin/perl +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + use strict; my $name; @@ -52,7 +59,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) {