From: nbd Date: Sun, 4 Aug 2013 12:17:22 +0000 (+0000) Subject: build: suppress conditional dependencies if there are unconditional dependencies... X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=78bdd2e64009b8dd633452e396ad74c45fccff09;p=openwrt.git build: suppress conditional dependencies if there are unconditional dependencies on the same symbol Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37678 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 5625b8b5be..28ddefcd9c 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -454,6 +454,7 @@ sub mconf_depends { next if $condition eq $depend; next if $seen->{"$parent_condition:$depend"}; + next if $seen->{":$depend"}; $seen->{"$parent_condition:$depend"} = 1; if ($depend =~ /^(.+):(.+)$/) { if ($1 ne "PACKAGE_$pkgname") {