diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2014-06-12 14:35:09 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-12 14:35:09 +0000 |
| commit | 58bd3b0764c21d484b04b59f11b61a747fd3491b (patch) | |
| tree | 729eb8a4b4433b9236f28ed8d156aaa48ffd2895 /scripts | |
| parent | c77311f68937d37c4789b1e06a327c1aa0e4a1db (diff) | |
| download | mtk-20170518-58bd3b0764c21d484b04b59f11b61a747fd3491b.zip mtk-20170518-58bd3b0764c21d484b04b59f11b61a747fd3491b.tar.gz mtk-20170518-58bd3b0764c21d484b04b59f11b61a747fd3491b.tar.bz2 | |
scripts/metadata.pl: avoid adding depends and select for the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41160
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/metadata.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index eed1998..e408beb 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'; } } } |
