mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
fix a small bug in the recursive dependency lookup for generated menuconfig files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12107 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
187ca0602d
commit
110126ad20
@ -380,14 +380,14 @@ sub mconf_depends($$) {
|
|||||||
$depend = join("||", map { "PACKAGE_".$_ } @$vdep);
|
$depend = join("||", map { "PACKAGE_".$_ } @$vdep);
|
||||||
} else {
|
} else {
|
||||||
$flags =~ /\+/ and do {
|
$flags =~ /\+/ and do {
|
||||||
next if $only_dep;
|
|
||||||
$m = "select";
|
|
||||||
|
|
||||||
# Menuconfig will not treat 'select FOO' as a real dependency
|
# Menuconfig will not treat 'select FOO' as a real dependency
|
||||||
# thus if FOO depends on other config options, these dependencies
|
# thus if FOO depends on other config options, these dependencies
|
||||||
# will not be checked. To fix this, we simply emit all of FOO's
|
# will not be checked. To fix this, we simply emit all of FOO's
|
||||||
# depends here as well.
|
# depends here as well.
|
||||||
$package{$depend} and mconf_depends($package{$depend}->{depends}, 1, $dep);
|
$package{$depend} and mconf_depends($package{$depend}->{depends}, 1, $dep);
|
||||||
|
|
||||||
|
$m = "select";
|
||||||
|
next if $only_dep;
|
||||||
};
|
};
|
||||||
$flags =~ /@/ or $depend = "PACKAGE_$depend";
|
$flags =~ /@/ or $depend = "PACKAGE_$depend";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user