mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:30:16 +02:00
metadata.pl: fix recursive handling of conditional dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21088 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5689b63c06
commit
e711a7c884
@ -423,8 +423,9 @@ sub mconf_depends {
|
|||||||
my $vdep;
|
my $vdep;
|
||||||
my $condition = $parent_condition;
|
my $condition = $parent_condition;
|
||||||
|
|
||||||
next if $seen->{$depend};
|
next if $condition eq $depend;
|
||||||
$seen->{$depend} = 1;
|
next if $seen->{"$parent_condition:$depend"};
|
||||||
|
$seen->{"$parent_condition:$depend"} = 1;
|
||||||
if ($depend =~ /^(.+):(.+)$/) {
|
if ($depend =~ /^(.+):(.+)$/) {
|
||||||
if ($1 ne "PACKAGE_$pkgname") {
|
if ($1 ne "PACKAGE_$pkgname") {
|
||||||
if ($condition) {
|
if ($condition) {
|
||||||
|
Loading…
Reference in New Issue
Block a user