summaryrefslogtreecommitdiffstats
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:59:16 +0100
commit041af823790f5052d2b43089e8f1a6f661afebf6 (patch)
tree2a17eba99b418f67b00a062370bdbd701657d397 /meta/classes
parentad9542cf26f30993c848af4b3ccc74154382bcc6 (diff)
downloadpoky-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')
-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 \
30 textrel already-stripped incompatible-license files-invalid \ 30 textrel already-stripped incompatible-license files-invalid \
31 installed-vs-shipped compile-host-path install-host-path \ 31 installed-vs-shipped compile-host-path install-host-path \
32 pn-overrides infodir build-deps file-rdeps \ 32 pn-overrides infodir build-deps file-rdeps \
33 unknown-configure-option symlink-to-sysroot \ 33 unknown-configure-option symlink-to-sysroot multilib \
34 " 34 "
35ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ 35ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
36 perms dep-cmp pkgvarcheck perm-config perm-line perm-link \ 36 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() {
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: