ar71xx: include linux/module.h in the micrel phy driver
[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/) {
                        $flags =~ /@/ or $depend = "PACKAGE_$depend";
                        if ($condition) {
                                if ($m =~ /select/) {
+                                       next if $depend eq $condition;
                                        $depend = "$depend if $condition";
                                } else {
                                        $depend = "!($condition) || $depend";
                                        $depend = "$depend if $condition";
                                } else {
                                        $depend = "!($condition) || $depend";
This page took 0.018372 seconds and 4 git commands to generate.