summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-13 14:14:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-13 14:14:06 +0000
commite9abf9f8a08bd44a3008faf1b0b9317df9b7d11d (patch)
treedecfe8ce36fdbfd53e8dfcc16387f9215ee442e3 /scripts
parent52dcb1f4113b992bae73404f8bcb4a2bc143979a (diff)
downloadmtk-20170518-e9abf9f8a08bd44a3008faf1b0b9317df9b7d11d.zip
mtk-20170518-e9abf9f8a08bd44a3008faf1b0b9317df9b7d11d.tar.gz
mtk-20170518-e9abf9f8a08bd44a3008faf1b0b9317df9b7d11d.tar.bz2
scripts/metadata.pl: fix ignoring missing host dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39917
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/metadata.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 8fe1b90..f075525 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -774,9 +774,10 @@ sub gen_package_mk() {
} elsif (defined($srcpackage{$dep})) {
$idx = $subdir{$dep}.$dep;
}
- $idx .= $suffix;
undef $idx if $idx eq 'base-files';
if ($idx) {
+ $idx .= $suffix;
+
my $depline;
next if $pkg->{src} eq $pkg_dep->{src}.$suffix;
next if $dep{$condition.":".$pkg->{src}."->".$idx};