forked from Ivasoft/openwrt
build: ensure that reordering of KCONFIG lines are handled properly and that the final result does not depend on the package scan order
SVN-Revision: 32788
This commit is contained in:
@@ -73,7 +73,10 @@ sub config_add($$$) {
|
||||
my %cfg = %$_;
|
||||
|
||||
foreach my $config (keys %cfg) {
|
||||
next if $mod_plus and $config{$config} and $config{$config} eq "y";
|
||||
if ($mod_plus and $config{$config}) {
|
||||
next if $config{$config} eq "y";
|
||||
next if $cfg{$config} eq '#undef';
|
||||
}
|
||||
$config{$config} = $cfg{$config};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user