aboutsummaryrefslogtreecommitdiffstats
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
commited6c5b50c326ca398c6899808f132084774d9abd (patch)
tree41d90c1cf78bc19d03891f9e419ebf8b2dd98bf4 /scripts
parent242bbb888d4ea7d0be66fb2820fb4d54660d16da (diff)
downloadupstream-ed6c5b50c326ca398c6899808f132084774d9abd.tar.gz
upstream-ed6c5b50c326ca398c6899808f132084774d9abd.tar.bz2
upstream-ed6c5b50c326ca398c6899808f132084774d9abd.zip
scripts/metadata.pl: avoid adding depends and select for the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41160 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 eed1998d27..e408beb507 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';
}
}
}