There are build paths in the file when set INHIBIT_PACKAGE_STRIP. [YOCTO #8458]
Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta/classes/insane.bbclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 664dfec..d6f7388 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -572,8 +572,11 @@ def package_qa_check_buildpaths(path, name, d, elf, messages): """ Check for build paths inside target files and error if not found in the whitelist """ - # Ignore .debug files, not interesting - if path.find(".debug") != -1: + # Ignore: + # - .debug files + # - which sets INHIBIT_PACKAGE_STRIP + if path.find(".debug") != -1 or \ + d.getVar('INHIBIT_PACKAGE_STRIP', True) == "1": return # Ignore .pyc files, not interesting -- 1.7.9.5 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core