summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index f9f8deffa3..a51f504f20 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -558,8 +558,9 @@ def package_qa_check_xorg_driver_abi(path, name, d, elf, messages):
558 558
559 driverdir = d.expand("${libdir}/xorg/modules/drivers/") 559 driverdir = d.expand("${libdir}/xorg/modules/drivers/")
560 if driverdir in path and path.endswith(".so"): 560 if driverdir in path and path.endswith(".so"):
561 mlprefix = d.getVar('MLPREFIX', True) or ''
561 for rdep in bb.utils.explode_deps(d.getVar('RDEPENDS_' + name, True) or ""): 562 for rdep in bb.utils.explode_deps(d.getVar('RDEPENDS_' + name, True) or ""):
562 if rdep.startswith("xorg-abi-"): 563 if rdep.startswith("%sxorg-abi-" % mlprefix):
563 return 564 return
564 messages.append("Package %s contains Xorg driver (%s) but no xorg-abi- dependencies" % (name, os.path.basename(path))) 565 messages.append("Package %s contains Xorg driver (%s) but no xorg-abi- dependencies" % (name, os.path.basename(path)))
565 566