mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:08:26 +02:00
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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18306 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e0ac739a84
commit
ea4600ff65
@ -225,8 +225,11 @@ EOF
|
|||||||
}
|
}
|
||||||
if (@{$target->{subtargets}} > 0) {
|
if (@{$target->{subtargets}} > 0) {
|
||||||
$confstr .= "\tselect HAS_SUBTARGETS\n";
|
$confstr .= "\tselect HAS_SUBTARGETS\n";
|
||||||
} else {
|
}
|
||||||
|
|
||||||
|
if ($target->{arch} =~ /\w/) {
|
||||||
$confstr .= "\tselect $target->{arch}\n";
|
$confstr .= "\tselect $target->{arch}\n";
|
||||||
|
}
|
||||||
foreach my $dep (@{$target->{depends}}) {
|
foreach my $dep (@{$target->{depends}}) {
|
||||||
my $mode = "depends";
|
my $mode = "depends";
|
||||||
my $flags;
|
my $flags;
|
||||||
@ -242,8 +245,6 @@ EOF
|
|||||||
$flags =~ /@/ and $confstr .= "\t$mode $name\n";
|
$flags =~ /@/ and $confstr .= "\t$mode $name\n";
|
||||||
}
|
}
|
||||||
$confstr .= $features;
|
$confstr .= $features;
|
||||||
}
|
|
||||||
|
|
||||||
$confstr .= "$help\n\n";
|
$confstr .= "$help\n\n";
|
||||||
print $confstr;
|
print $confstr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user