diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-04 23:43:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-04 23:43:13 +0000 |
commit | 01046ae4b2f5325d243b059811d62c6b23606d33 (patch) | |
tree | 7cd4fc9ef6780015d60c9d440ef4754c7c3ab3d8 /scripts | |
parent | 1b838dbd95b1e9facc58184b6327d8a844e1c9e8 (diff) | |
download | upstream-01046ae4b2f5325d243b059811d62c6b23606d33.tar.gz upstream-01046ae4b2f5325d243b059811d62c6b23606d33.tar.bz2 upstream-01046ae4b2f5325d243b059811d62c6b23606d33.zip |
fix a small bug in the recursive dependency lookup for generated menuconfig files
SVN-Revision: 12107
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/metadata.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 007b63ed9f..d920f59fca 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -380,14 +380,14 @@ sub mconf_depends($$) { $depend = join("||", map { "PACKAGE_".$_ } @$vdep); } else { $flags =~ /\+/ and do { - next if $only_dep; - $m = "select"; - # Menuconfig will not treat 'select FOO' as a real dependency # thus if FOO depends on other config options, these dependencies # will not be checked. To fix this, we simply emit all of FOO's # depends here as well. $package{$depend} and mconf_depends($package{$depend}->{depends}, 1, $dep); + + $m = "select"; + next if $only_dep; }; $flags =~ /@/ or $depend = "PACKAGE_$depend"; } |