mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:17:32 +02:00
[scripts] metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29695 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
01ffe72b18
commit
6080beadaf
@ -475,6 +475,7 @@ sub mconf_depends {
|
|||||||
$flags =~ /@/ or $depend = "PACKAGE_$depend";
|
$flags =~ /@/ or $depend = "PACKAGE_$depend";
|
||||||
if ($condition) {
|
if ($condition) {
|
||||||
if ($m =~ /select/) {
|
if ($m =~ /select/) {
|
||||||
|
next if $depend eq $condition;
|
||||||
$depend = "$depend if $condition";
|
$depend = "$depend if $condition";
|
||||||
} else {
|
} else {
|
||||||
$depend = "!($condition) || $depend";
|
$depend = "!($condition) || $depend";
|
||||||
|
Loading…
Reference in New Issue
Block a user