diff options
author | Jian Liu <jian.liu@windriver.com> | 2015-11-02 10:07:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-24 15:50:27 +0000 |
commit | 70ae7a67168dd81447430dd29737e02360a4bcbf (patch) | |
tree | 5fb4b3dcc8e61d10cfab29334b724c684a0aa7c1 | |
parent | cf0dfdbcf8be8b8e0a6cb6ebcf0486fa1a89abf6 (diff) | |
download | poky-70ae7a67168dd81447430dd29737e02360a4bcbf.tar.gz |
insane.bbclass: Avoid libdir QA check if PACKAGE_DEBUG_SPLIT_STYLE='debug-file-directory'
If PACKAGE_DEBUG_SPLIT_STYLE='debug-file-directory', debuglibdir will be
"/usr/lib/debug". Usually 64bit libs should be put under "/usr/lib64".
This often cause an warning, so skip the checking.
(From OE-Core rev: f18a917c1493d4107c7f9db1d9ba19ec368f9b48)
Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/insane.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 1a970c007b..2a1e30b776 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -307,6 +307,9 @@ def package_qa_check_libdir(d): | |||
307 | if 'libdir' in (d.getVar('INSANE_SKIP_' + package, True) or "").split(): | 307 | if 'libdir' in (d.getVar('INSANE_SKIP_' + package, True) or "").split(): |
308 | bb.note("Package %s skipping libdir QA test" % (package)) | 308 | bb.note("Package %s skipping libdir QA test" % (package)) |
309 | skippackages.append(package) | 309 | skippackages.append(package) |
310 | elif d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True) == 'debug-file-directory' and package.endswith("-dbg"): | ||
311 | bb.note("Package %s skipping libdir QA test for PACKAGE_DEBUG_SPLIT_STYLE equals debug-file-directory" % (package)) | ||
312 | skippackages.append(package) | ||
310 | for package in skippackages: | 313 | for package in skippackages: |
311 | dirs.remove(package) | 314 | dirs.remove(package) |
312 | for file in files: | 315 | for file in files: |