mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user