summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-06-09 22:13:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-11 23:56:29 +0100
commitc925847dea7b0480c901e94b6a071a18f5e00d45 (patch)
tree00efbc46166b290e1f27b200e37dbb6d37d4f300 /meta/classes
parent43e8192606444c339ef732d611d4cbc18dee21e4 (diff)
downloadopenembedded-core-c925847dea7b0480c901e94b6a071a18f5e00d45.tar.gz
openembedded-core-c925847dea7b0480c901e94b6a071a18f5e00d45.tar.bz2
openembedded-core-c925847dea7b0480c901e94b6a071a18f5e00d45.zip
multilib.bbclass: use package_qa_handle_error
Use package_qa_handle_error to handle the QA issue. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/insane.bbclass2
-rw-r--r--meta/classes/multilib.bbclass5
2 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index e12f2ec381..dc891d5490 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -30,7 +30,7 @@ WARN_QA ?= "ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi \
textrel already-stripped incompatible-license files-invalid \
installed-vs-shipped compile-host-path install-host-path \
pn-overrides infodir build-deps file-rdeps \
- unknown-configure-option symlink-to-sysroot \
+ unknown-configure-option symlink-to-sysroot multilib \
"
ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 2b5d356e43..8f61d8d41a 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -132,8 +132,9 @@ python do_package_qa_multilib() {
(not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')):
candidates.append(i)
if len(candidates) > 0:
- bb.warn("Multilib QA Issue: %s package %s - suspicious values '%s' in %s"
- % (d.getVar('PN', True), pkg, ' '.join(candidates), var))
+ msg = "%s package %s - suspicious values '%s' in %s" \
+ % (d.getVar('PN', True), pkg, ' '.join(candidates), var)
+ package_qa_handle_error("multilib", msg, d)
ml = d.getVar('MLPREFIX', True)
if not ml: