[scripts] metadata.pl: filter direct recursive depends like "select PACKAGE_kmod...
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 8 Jan 2012 15:49:20 +0000 (15:49 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 8 Jan 2012 15:49:20 +0000 (15:49 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29695 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/metadata.pl

index 0f4ae9f..41e6e9c 100755 (executable)
@@ -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";
This page took 0.025422 seconds and 4 git commands to generate.