scripts/metadata.pl: avoid adding depends and select for the same symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41160
master
Felix Fietkau 11 years ago
parent c77311f689
commit 58bd3b0764
  1. 2
      scripts/metadata.pl

@ -504,7 +504,7 @@ sub mconf_depends {
next if $depend eq $condition;
$depend = "$depend if $condition";
} else {
$depend = "!($condition) || $depend";
$depend = "!($condition) || $depend" unless $dep->{$condition} eq 'select';
}
}
}

Loading…
Cancel
Save