From ed6c5b50c326ca398c6899808f132084774d9abd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 12 Jun 2014 14:35:09 +0000 Subject: scripts/metadata.pl: avoid adding depends and select for the same symbol Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41160 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/metadata.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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'; } } } -- cgit v1.2.3