summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-12 14:35:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-12 14:35:09 +0000
commit58bd3b0764c21d484b04b59f11b61a747fd3491b (patch)
tree729eb8a4b4433b9236f28ed8d156aaa48ffd2895 /scripts
parentc77311f68937d37c4789b1e06a327c1aa0e4a1db (diff)
downloadmtk-20170518-58bd3b0764c21d484b04b59f11b61a747fd3491b.zip
mtk-20170518-58bd3b0764c21d484b04b59f11b61a747fd3491b.tar.gz
mtk-20170518-58bd3b0764c21d484b04b59f11b61a747fd3491b.tar.bz2
scripts/metadata.pl: avoid adding depends and select for the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41160
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/metadata.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index eed1998..e408beb 100755
--- a/scripts/metadata.pl
+++ b/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';
}
}
}