scripts/metadata.pl: avoid adding depends and select for the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41160
This commit is contained in:
parent
c77311f689
commit
58bd3b0764
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ sub mconf_depends {
|
||||||
next if $depend eq $condition;
|
next if $depend eq $condition;
|
||||||
$depend = "$depend if $condition";
|
$depend = "$depend if $condition";
|
||||||
} else {
|
} else {
|
||||||
$depend = "!($condition) || $depend";
|
$depend = "!($condition) || $depend" unless $dep->{$condition} eq 'select';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue