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:49:27 +0000 |
commit | f18a917c1493d4107c7f9db1d9ba19ec368f9b48 (patch) | |
tree | fa0daa67698f2daa3e7754e284cfeb808fab1b95 | |
parent | b32420effcc0435353adc63023d2e4276dd1e0c6 (diff) | |
download | openembedded-core-f18a917c1493d4107c7f9db1d9ba19ec368f9b48.tar.gz openembedded-core-f18a917c1493d4107c7f9db1d9ba19ec368f9b48.tar.bz2 openembedded-core-f18a917c1493d4107c7f9db1d9ba19ec368f9b48.zip |
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.
Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-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): if 'libdir' in (d.getVar('INSANE_SKIP_' + package, True) or "").split(): bb.note("Package %s skipping libdir QA test" % (package)) skippackages.append(package) + elif d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True) == 'debug-file-directory' and package.endswith("-dbg"): + bb.note("Package %s skipping libdir QA test for PACKAGE_DEBUG_SPLIT_STYLE equals debug-file-directory" % (package)) + skippackages.append(package) for package in skippackages: dirs.remove(package) for file in files: |