summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-11-15 10:31:56 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-20 14:03:29 +0000
commit4cf2d7c32bc410e637b8d0c8e4125ab7166a5d30 (patch)
treebbef9dd6888d539c69b759d9e5aa06426bbb2b46 /meta/classes/insane.bbclass
parent6af097c8809cdd395bfb3aeadac0bc7c9106b79c (diff)
downloadpoky-4cf2d7c32bc410e637b8d0c8e4125ab7166a5d30.tar.gz
xorg-driver: fix qa issue while multilib enabled - contains Xorg driver but no xorg-abi
... WARNING: QA Issue: Package lib32-xf86-video-vesa contains Xorg driver (vesa_drv.so) but no xorg-abi- dependencies WARNING: QA Issue: Package lib32-xf86-video-intel contains Xorg driver (intel_drv.so) but no xorg-abi- dependencies WARNING: QA Issue: Package lib32-xf86-video-omap contains Xorg driver (omap_drv.so) but no xorg-abi- dependencies WARNING: QA Issue: Package lib32-xf86-video-vmware contains Xorg driver (vmware_drv.so) but no xorg-abi- dependencies WARNING: QA Issue: Package lib32-xf86-video-fbdev contains Xorg driver (fbdev_drv.so) but no xorg-abi- dependencies WARNING: QA Issue: Package lib32-xf86-video-modesetting contains Xorg driver (modesetting_drv.so) but no xorg-abi- dependencies ... In oe-core 87be2314fe0e67a616b4f713106b4ae46931f5cb, it fixed add_abi_depends issue while enable multilib. We did the same thing for qa check: package_qa_check_xorg_driver_abi. [YOCTO #5545] (From OE-Core rev: 3132d8b52eb05b03df4d4589f94cff38ab69b81d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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