summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-global/insane.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 748de050e0..cd26bf5eb9 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -1469,10 +1469,10 @@ python do_recipe_qa() {
1469 pkgconfigs = (d.getVar("PACKAGECONFIG") or "").split() 1469 pkgconfigs = (d.getVar("PACKAGECONFIG") or "").split()
1470 if pkgconfigs: 1470 if pkgconfigs:
1471 pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {} 1471 pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {}
1472 for pkgconfig in pkgconfigs: 1472 invalid_pkgconfigs = set(pkgconfigs) - set(pkgconfigflags)
1473 if pkgconfig not in pkgconfigflags: 1473 if invalid_pkgconfigs:
1474 error_msg = "%s: invalid PACKAGECONFIG: %s" % (pn, pkgconfig) 1474 error_msg = "%s: invalid PACKAGECONFIG(s): %s" % (pn, " ".join(sorted(invalid_pkgconfigs)))
1475 oe.qa.handle_error("invalid-packageconfig", error_msg, d) 1475 oe.qa.handle_error("invalid-packageconfig", error_msg, d)
1476 1476
1477 pn = d.getVar('PN') 1477 pn = d.getVar('PN')
1478 test_missing_metadata(pn, d) 1478 test_missing_metadata(pn, d)