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 master rev: 843a5dd8f8f0461e286d9fdb3ba55205b4275f88)

(From OE-Core rev: 73f77c195e1af3df594eecce2cab47ee963d5c2e)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.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 c2be524370
commit 263b6aa58e
1 changed files with 1 additions and 1 deletions

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