generic: ar8216: use ar8216_sw_ prefix for switchdev related functions
[openwrt.git] / 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.018802 seconds and 4 git commands to generate.