summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZefir Kurtisi <zefir.kurtisi@neratec.com>2016-10-12 17:50:56 +0200
committerJohn Crispin <john@phrozen.org>2016-10-15 11:36:51 +0200
commitcf458de382fc6f6a8715fadb3edf152d0196a26a (patch)
treeb6ac2c7bf04549c50bcbd686c756867d8ff927d1 /scripts
parent5a922e5c41b4d8c57b53d471f43a3c649b6873bb (diff)
downloadmtk-20170518-cf458de382fc6f6a8715fadb3edf152d0196a26a.zip
mtk-20170518-cf458de382fc6f6a8715fadb3edf152d0196a26a.tar.gz
mtk-20170518-cf458de382fc6f6a8715fadb3edf152d0196a26a.tar.bz2
scripts: fix build warning when overriding packages
If core packages are overridden, CONFIG_OVERRIDE_PKGS is set based on the scan order of packages, which eventually causes that config value to be modified on each build and with that causes the build process to warn for configuration being out of sync. This commit changes the CONFIG_OVERRIDE_PKGS to be sorted and prevents that false warning. Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/package-metadata.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package-metadata.pl b/scripts/package-metadata.pl
index 09aed96..f5d28e4 100755
--- a/scripts/package-metadata.pl
+++ b/scripts/package-metadata.pl
@@ -351,7 +351,7 @@ sub print_package_overrides() {
keys %overrides > 0 or return;
print "\tconfig OVERRIDE_PKGS\n";
print "\t\tstring\n";
- print "\t\tdefault \"".join(" ", keys %overrides)."\"\n\n";
+ print "\t\tdefault \"".join(" ", sort keys %overrides)."\"\n\n";
}
sub gen_package_config() {