]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
insane.bbclass: fix for ignoring debug files
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 8 Oct 2015 07:35:59 +0000 (00:35 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Thu, 8 Oct 2015 12:58:40 +0000 (05:58 -0700)
Some recipes put debug files in "usr/src/debug/" rather than ".debug".

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/insane.bbclass

index d6f73881b37a30f865b8922bf645d43dda9302ac..947d7ac82f24ba021032db291aec396f8cafcdb4 100644 (file)
@@ -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