mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
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