mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
build: ensure that reordering of KCONFIG lines are handled properly and that the final result does not depend on the package scan order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32788 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -115,6 +115,7 @@ sub gen_kconfig_overrides() {
|
||||
$val = $2;
|
||||
}
|
||||
if ($config{"CONFIG_PACKAGE_$package"} and ($config ne 'n')) {
|
||||
next if $kconfig{$config} eq 'y';
|
||||
$kconfig{$config} = $val;
|
||||
} elsif (!$override) {
|
||||
$kconfig{$config} or $kconfig{$config} = 'n';
|
||||
|
||||
Reference in New Issue
Block a user