summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2013-10-23 13:47:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-24 08:38:24 +0100
commit843a5dd8f8f0461e286d9fdb3ba55205b4275f88 (patch)
treec642e637d13ca217d1d3f05637a7d86229a711d3
parentabadeb934d4f41288c4fde6a4e5df2b124326326 (diff)
downloadopenembedded-core-843a5dd8f8f0461e286d9fdb3ba55205b4275f88.tar.gz
openembedded-core-843a5dd8f8f0461e286d9fdb3ba55205b4275f88.tar.bz2
openembedded-core-843a5dd8f8f0461e286d9fdb3ba55205b4275f88.zip
base.bbclass: fix nondeterministic PACKAGECONFIG processing order
The PACKAGECONFIG flags were iterated over using dict.items(), but this returns the items in an undefined order. As this order determines the EXTRA_OECONF append order, we can get EXTRA_OECONF which are functionally equivalent, but whose contents differ, resulting in not using shared state archives we should be using. Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index dfa580c583..93bc700a50 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -433,7 +433,7 @@ python () {
extradeps = []
extrardeps = []
extraconf = []
- for flag, flagval in pkgconfigflags.items():
+ for flag, flagval in sorted(pkgconfigflags.items()):
if flag == "defaultval":
continue
items = flagval.split(",")