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:59:16 +0100 |
commit | 041af823790f5052d2b43089e8f1a6f661afebf6 (patch) | |
tree | 2a17eba99b418f67b00a062370bdbd701657d397 /meta/classes/multilib.bbclass | |
parent | ad9542cf26f30993c848af4b3ccc74154382bcc6 (diff) | |
download | poky-041af823790f5052d2b43089e8f1a6f661afebf6.tar.gz |
multilib.bbclass: use package_qa_handle_error
Use package_qa_handle_error to handle the QA issue.
(From OE-Core rev: c925847dea7b0480c901e94b6a071a18f5e00d45)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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() { | |||
132 | (not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')): | 132 | (not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')): |
133 | candidates.append(i) | 133 | candidates.append(i) |
134 | if len(candidates) > 0: | 134 | if len(candidates) > 0: |
135 | bb.warn("Multilib QA Issue: %s package %s - suspicious values '%s' in %s" | 135 | msg = "%s package %s - suspicious values '%s' in %s" \ |
136 | % (d.getVar('PN', True), pkg, ' '.join(candidates), var)) | 136 | % (d.getVar('PN', True), pkg, ' '.join(candidates), var) |
137 | package_qa_handle_error("multilib", msg, d) | ||
137 | 138 | ||
138 | ml = d.getVar('MLPREFIX', True) | 139 | ml = d.getVar('MLPREFIX', True) |
139 | if not ml: | 140 | if not ml: |