summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-21 03:01:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-21 03:01:40 +0000
commitfb710194e7f8192fb6e6d9f1d4e6e9e481f03c97 (patch)
tree55a01949cbf753a0d9a0d9652bfb89d838ec8147
parent00dee08dd9d1bb11593f211d15f797915378de29 (diff)
downloadmtk-20170518-fb710194e7f8192fb6e6d9f1d4e6e9e481f03c97.zip
mtk-20170518-fb710194e7f8192fb6e6d9f1d4e6e9e481f03c97.tar.gz
mtk-20170518-fb710194e7f8192fb6e6d9f1d4e6e9e481f03c97.tar.bz2
don't generate invalid dependency lines in sdk mode
SVN-Revision: 4035
-rwxr-xr-xopenwrt/scripts/gen_deps.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/scripts/gen_deps.pl b/openwrt/scripts/gen_deps.pl
index 32bf1f5..0499871 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) {