summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-10-08 00:35:59 -0700
committerRobert Yang <liezhi.yang@windriver.com>2015-10-08 05:58:40 -0700
commite7cb89598db33b53478804a0b08b1c6686e0a964 (patch)
treeb44c0921208c09b748e804ffba17985bf78abd32
parent9318d84577d6217a1b9a984a0fee72a5e86553e0 (diff)
downloadopenembedded-core-contrib-e7cb89598db33b53478804a0b08b1c6686e0a964.tar.gz
openembedded-core-contrib-e7cb89598db33b53478804a0b08b1c6686e0a964.tar.bz2
openembedded-core-contrib-e7cb89598db33b53478804a0b08b1c6686e0a964.zip
insane.bbclass: fix for ignoring debug files
Some recipes put debug files in "usr/src/debug/" rather than ".debug". Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/classes/insane.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index d6f73881b3..947d7ac82f 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -575,7 +575,7 @@ def package_qa_check_buildpaths(path, name, d, elf, messages):
# Ignore:
# - .debug files
# - which sets INHIBIT_PACKAGE_STRIP
- if path.find(".debug") != -1 or \
+ if path.find(".debug") != -1 or path.find("/src/debug/") != -1 or \
d.getVar('INHIBIT_PACKAGE_STRIP', True) == "1":
return