bcm63xx: enable bcm6368 for linux 3.3 and build images
[openwrt/svn-archive/archive.git] / scripts / metadata.pl
index 0f4ae9fe0aa125a5a5ea5b87b529241eda4f12d4..41e6e9cd581917afa7d26ed4a5734ce6099b57f5 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";