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.

(From OE-Core rev: 843a5dd8f8f0461e286d9fdb3ba55205b4275f88)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson
2013-10-23 13:47:27 -07:00
committed by Richard Purdie
parent ffb440c37c
commit 754e8768b6

View File

@@ -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(",")