summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-02-08 21:46:47 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-25 22:43:33 +0000
commit16102e18902e56bf76d256cebb890743a05d021b (patch)
tree19f44d4425e3fd8f8102abc6e79fad942ffd6072 /meta/classes/insane.bbclass
parent2d87d5229771ea45ced4ebd376a2582c5bed6525 (diff)
downloadpoky-16102e18902e56bf76d256cebb890743a05d021b.tar.gz
Revise stripping and splitting of debug information
We now support two styles of debug information generation, the '.debug' style, which is the same as previously implemented. This style simply splits the debug information and makes it available in the same general directory. /bin/foo -> /bin/.debug/foo The new 'debug-file-directory' style splits the debug information and places it into the single debug-file-directory, /usr/lib/debug: /bin/foo -> /usr/lib/debug/bin/foo.debug Both also find and copy all referenced source code to a new /usr/src/debug directory. This allows the -dbg files to be used for stand-a-lone debugging on or off the target device. File stripping is now handled as a seperate operation from file splitting. This allows us to split the debug information, but also leave it in the original file -- or prevent the debug information from being split. Also enhance the comments within local.conf.sample to provide a better understanding of the control the user has over debug file generation. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 5d3ef92a2e..b376470bd7 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -192,8 +192,8 @@ def package_qa_check_dev(path, name,d, elf):
192 192
193 sane = True 193 sane = True
194 194
195 if not name.endswith("-dev") and path.endswith(".so") and os.path.islink(path): 195 if not name.endswith("-dev") and not name.endswith("-dbg") and path.endswith(".so") and os.path.islink(path):
196 error_msg = "non -dev package contains symlink .so: %s path '%s'" % \ 196 error_msg = "non -dev/-dbg package contains symlink .so: %s path '%s'" % \
197 (name, package_qa_clean_path(path,d)) 197 (name, package_qa_clean_path(path,d))
198 sane = package_qa_handle_error(0, error_msg, name, path, d) 198 sane = package_qa_handle_error(0, error_msg, name, path, d)
199 199