mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-25 02:46:48 +00:00
build: suppress conditional dependencies if there are unconditional dependencies on the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37678
This commit is contained in:
parent
0d9ecfa564
commit
0249f7510c
@ -454,6 +454,7 @@ sub mconf_depends {
|
|||||||
|
|
||||||
next if $condition eq $depend;
|
next if $condition eq $depend;
|
||||||
next if $seen->{"$parent_condition:$depend"};
|
next if $seen->{"$parent_condition:$depend"};
|
||||||
|
next if $seen->{":$depend"};
|
||||||
$seen->{"$parent_condition:$depend"} = 1;
|
$seen->{"$parent_condition:$depend"} = 1;
|
||||||
if ($depend =~ /^(.+):(.+)$/) {
|
if ($depend =~ /^(.+):(.+)$/) {
|
||||||
if ($1 ne "PACKAGE_$pkgname") {
|
if ($1 ne "PACKAGE_$pkgname") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user