metadata: process dependencies for targets that have subtargets as well - hides the ramips target unless the user has requested to play with broken packages/targets (related to #6051)

SVN-Revision: 18306
This commit is contained in:
Felix Fietkau 2009-11-05 01:24:30 +00:00
parent 94249f3c93
commit ea63b88b10

View File

@ -225,8 +225,11 @@ EOF
}
if (@{$target->{subtargets}} > 0) {
$confstr .= "\tselect HAS_SUBTARGETS\n";
} else {
}
if ($target->{arch} =~ /\w/) {
$confstr .= "\tselect $target->{arch}\n";
}
foreach my $dep (@{$target->{depends}}) {
my $mode = "depends";
my $flags;
@ -242,8 +245,6 @@ EOF
$flags =~ /@/ and $confstr .= "\t$mode $name\n";
}
$confstr .= $features;
}
$confstr .= "$help\n\n";
print $confstr;
}