mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
SVN-Revision: 29695
This commit is contained in:
parent
7251541786
commit
73b4974397
@ -475,6 +475,7 @@ sub mconf_depends {
|
||||
$flags =~ /@/ or $depend = "PACKAGE_$depend";
|
||||
if ($condition) {
|
||||
if ($m =~ /select/) {
|
||||
next if $depend eq $condition;
|
||||
$depend = "$depend if $condition";
|
||||
} else {
|
||||
$depend = "!($condition) || $depend";
|
||||
|
Loading…
Reference in New Issue
Block a user