diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-06-09 22:13:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-11 23:56:29 +0100 |
commit | c925847dea7b0480c901e94b6a071a18f5e00d45 (patch) | |
tree | 00efbc46166b290e1f27b200e37dbb6d37d4f300 /meta/classes/multilib.bbclass | |
parent | 43e8192606444c339ef732d611d4cbc18dee21e4 (diff) | |
download | openembedded-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/multilib.bbclass')
-rw-r--r-- | meta/classes/multilib.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
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: |