mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-14 14:19:53 +08:00
scripts/metadata.pl: avoid adding depends and select for the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41160
This commit is contained in:
@ -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';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user