[OE-core] [PATCH 4/8] insane.bbclass: skip buildpath qa check when set INHIBIT_PACKAGE_STRIP
Robert Yang
liezhi.yang at windriver.com
Thu Oct 8 13:16:55 UTC 2015
There are build paths in the file when set INHIBIT_PACKAGE_STRIP.
[YOCTO #8458]
Signed-off-by: Robert Yang <liezhi.yang at 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
More information about the Openembedded-core
mailing list