aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-22 21:00:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-22 21:00:07 +0000
commit2335304a08827f4f083eba2bfb73163516c5fd57 (patch)
treed54824af9e02be484acdf6caecd364b786250516 /scripts/metadata.pl
parentb59bc92c6edf517d0a2d958530ac58fc58f74c32 (diff)
downloadupstream-2335304a08827f4f083eba2bfb73163516c5fd57.tar.gz
upstream-2335304a08827f4f083eba2bfb73163516c5fd57.tar.bz2
upstream-2335304a08827f4f083eba2bfb73163516c5fd57.zip
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
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index d250a71978..bd6dbc54ac 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -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';