poky/meta/classes
Mark Hatle 16102e1890 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>
2011-02-25 22:43:33 +00:00
..
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
autotools.bbclass autotools.bbclass: Drop info directory listings as they're going to be broken if generated at this point and cause file conflicts 2011-02-02 16:56:24 +00:00
base_srpm.bbclass
base.bbclass Buildstats commit: buildstats.bbclass 2011-02-15 09:59:51 +00:00
binconfig.bbclass staging: Use relative path in sysroot-destdir for target recipes 2011-01-21 11:18:37 +00:00
boot-directdisk.bbclass bootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin location and fix dependencies 2010-03-25 14:09:06 +00:00
bootimg.bbclass bitbake: machine specific sysroots implementation 2011-01-25 12:25:46 +00:00
buildstats.bbclass buildstats.bbclass: Remove unneeded debug output 2011-02-16 23:17:59 +00:00
ccache.inc classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE) 2006-11-20 09:16:34 +00:00
ccdv.bbclass Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and STAGING_BINDIR_NATIVE and adding both to PATH 2006-11-25 10:01:30 +00:00
cmake.bbclass cmake.bbclass: sync from openembedded 2010-08-31 17:19:53 +01:00
cml1.bbclass
cpan_build.bbclass cpan.bbclass: use LIBDIR instead of DATADIR 2011-01-12 00:55:48 -08:00
cpan-base.bbclass cpan.bbclass: use LIBDIR instead of DATADIR 2011-01-12 00:55:48 -08:00
cpan.bbclass cpan.bbclass: add a new parameter EXTRA_PERLFLAGS 2011-01-12 00:55:48 -08:00
cross-canadian.bbclass cross-canadian.bbclass: Correct deb package arch. 2011-01-28 17:00:59 +00:00
cross.bbclass cross.bbclass: Move sysroot_stage_all function to the only place that uses it now (gcc-cross-intermediate) 2011-01-26 11:37:32 +00:00
crosssdk.bbclass crosssdk: Drop PACKAGES setting as its set in cross.bbclass already 2011-01-26 12:06:52 +00:00
debian.bbclass debian.bbclass: Only set rdeptask for do_package if packaging is enabled 2011-02-10 12:01:04 +00:00
deploy.bbclass bitbake/sstate: Implement a lookup function to speed up setscene processing 2010-10-05 22:26:33 +01:00
devshell.bbclass Ensure Bash is used when spawning terminals 2011-02-24 15:54:09 +00:00
distrodata.bbclass distrodata.bbclass: Fix some issues when checking upstream version on sourceforge 2011-02-23 16:23:32 +00:00
distutils-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils-common-base.bbclass distutils(-common-base) bbclass: sync with OE 2011-01-20 21:37:00 +00:00
distutils-native-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils.bbclass distutils(-common-base) bbclass: sync with OE 2011-01-20 21:37:00 +00:00
flow-lossage.bbclass classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE) 2006-11-20 09:16:34 +00:00
gconf.bbclass debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes 2009-11-16 10:52:35 +00:00
gettext.bbclass gettext.bbclass: Set the gettext dependencies correctly for target, cross and native packages 2010-01-05 21:10:47 +00:00
gnome.bbclass gnome.bbclass: Remove autotools_stage reference 2010-11-02 10:15:27 +00:00
gtk-doc.bbclass classes: Add gtk-doc.bbclass 2008-05-15 14:11:13 +00:00
gtk-icon-cache.bbclass gdk-pixbuf: Add 2.22.1 as new recipe 2011-01-20 21:36:56 +00:00
icecc.bbclass Install cross-packages into the native sysroot 2010-04-27 18:29:57 +01:00
image-mklibs.bbclass image-mklibs.bbclass: add the library optimization functionality 2011-02-09 22:45:47 +00:00
image-prelink.bbclass prelink: Enable image wide prelinking 2010-08-12 15:54:39 +01:00
image-swab.bbclass image-swab: Convert to attach strace to the process to obtain the required swabber data 2011-02-10 11:51:48 +00:00
image.bbclass image.bbclass: Disable shell debug messages 2011-02-16 07:34:51 -08:00
imagetest-dummy.bbclass test: add automation framework and sanitytest 2010-07-15 12:48:25 +01:00
imagetest-qemu.bbclass qemuimagetest: Use same image during sanity testing instead of copying a new image for each case 2011-01-20 21:36:57 +00:00
insane.bbclass Revise stripping and splitting of debug information 2011-02-25 22:43:33 +00:00
insserv.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
kernel-arch.bbclass kernel-arch: x86-64 is no longer a valid architecture, map it to x86 2010-08-13 17:16:19 +01:00
kernel-yocto.bbclass linux-yocto: enable audio for selected qemu targets 2011-02-23 16:23:32 +00:00
kernel.bbclass Ensure Bash is used when spawning terminals 2011-02-24 15:54:09 +00:00
lib_package.bbclass lib_package.bbclass: Sync with OE.dev to remove hardcoded layout assumption 2009-11-16 10:53:16 +00:00
libc-package.bbclass libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions 2011-02-17 00:17:01 +00:00
license.bbclass license.bbclass: Add coverage by sstate code (also use cleandirs and dirs task attribures for directory handling) 2011-02-03 12:33:18 +00:00
linux-kernel-base.bbclass linux-kernel-base.bbclass: merge version detection updates from upstream 2010-05-20 14:14:22 +01:00
meta.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
metadata_scm.bbclass metadata_scm: Ensure that if an SCM isn't present, we dont print a revision of 'fatal:' as it looks bad 2010-10-21 23:26:40 +01:00
mirrors.bbclass mirrors.bbclass: Ensure we don't overwrite any existing MIRRORS variable 2011-02-11 23:50:46 +00:00
module_strip.bbclass kernel/package.bbclass: Handle kernel module stripping centrally 2010-08-10 14:47:41 +01:00
module-base.bbclass module*.bbclass: set AR to KERNEL_AR during building of kernel modules 2008-01-08 14:40:51 +00:00
module.bbclass module.bbclass: Fix external module version dependencies 2008-05-21 09:35:53 +00:00
mozilla.bbclass mozilla.bbclass: Fix pkgconfig usage for pkgconfig sysroot 2009-01-23 15:51:44 +00:00
native.bbclass bitbake: machine specific sysroots implementation 2011-01-25 12:25:46 +00:00
nativesdk.bbclass bitbake: machine specific sysroots implementation 2011-01-25 12:25:46 +00:00
oelint.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
openmoko-base.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
openmoko-panel-plugin.bbclass openmoko-panel-gsm: add openmoko-panel-gsm, om-panel-plugin.bbclass, and srvrev 2008-08-08 14:43:09 +00:00
openmoko.bbclass openmoko: added classes needed by openmoko-libs 2007-07-09 14:21:05 +00:00
openmoko2.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
package_deb.bbclass package_deb.bbclass: Place the whole task under fakeroot context to fix build failures 2011-02-22 10:53:25 +00:00
package_ipk.bbclass rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipk 2011-02-01 23:59:37 +00:00
package_rpm.bbclass package_rpm: Fix solverdb generation 2011-02-16 07:34:51 -08:00
package_tar.bbclass package_*.bbclass: Always run these tasks under fakeroot 2010-08-19 22:36:26 +01:00
package.bbclass Revise stripping and splitting of debug information 2011-02-25 22:43:33 +00:00
packagedata.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
packagehistory.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
patch.bbclass meta/classes: Update classes to use new fetcher API 2011-02-07 09:06:37 +00:00
patcher.bbclass
pkg_distribute.bbclass
pkg_metainfo.bbclass
pkgconfig.bbclass pkgconfig.bbclass: No longer default to pkgconfig_stage code (breaks libdrm) 2009-07-07 15:13:56 +01:00
poky-autobuild-notifier.bbclass classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything 2010-12-31 09:51:18 +00:00
poky-image.bbclass poky-image.bbclass: If not including package management, ensure the basics to handle postinstalls in images are present 2011-01-28 18:00:28 +00:00
populate_sdk_deb.bbclass Misc hard link fixes 2011-02-09 22:46:30 +00:00
populate_sdk_ipk.bbclass populate_sdk_ipk.bbclass: Added ipk support in populate_sdk task. 2011-02-01 23:59:38 +00:00
populate_sdk_rpm.bbclass package_rpm: Fix solverdb generation 2011-02-16 07:34:51 -08:00
populate_sdk.bbclass toolchain-script/populate_sdk/meta-toolchain: moving common code. 2011-02-17 17:25:21 -08:00
python-dir.bbclass python-dir bbclass: import from OE 2011-01-20 21:37:00 +00:00
qemu.bbclass eglibc: import eglibc_2.12 recipe from OE 2010-08-13 23:37:30 +01:00
qmake_base.bbclass Import files from OE to build WebKit (patch to link icu required) 2007-12-06 10:23:27 +00:00
qmake2.bbclass qt4: Enable accessibility and sm option for LSB. 2011-01-20 21:37:01 +00:00
qt4e.bbclass qt4: add qt4-embedded 4.6.3 from meta-openembedded 2011-02-01 16:10:11 +00:00
qt4x11.bbclass qt4: Bring in improvements from meta-openembedded 2011-02-01 15:57:26 +00:00
relocatable.bbclass relocatable.bbclass: Cover libexecdir 2010-08-12 14:41:30 +01:00
rm_work.bbclass rm_work.bbclass: Improve handling of noexec tasks 2011-02-21 12:58:06 +00:00
rootfs_deb.bbclass rootfs_deb/package_deb.bbclass: move func from rootfs_deb to package_deb 2011-02-01 23:59:37 +00:00
rootfs_ipk.bbclass rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipk 2011-02-01 23:59:37 +00:00
rootfs_rpm.bbclass package_rpm: Fix solverdb generation 2011-02-16 07:34:51 -08:00
sanity.bbclass sanity/sstate: Due to the sysroot layout changes, the toolchain bootstrap process changes and the recent pseudo bug, bump the tmpdir layout version number and the sstate version numbers 2011-01-25 12:32:50 +00:00
scons.bbclass classes: Sync various classes with OE for various bugfixes 2007-08-08 20:41:55 +00:00
sdl.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
setuptools.bbclass setuptools bbclass: import from OE 2011-01-20 21:37:00 +00:00
singlemachine.bbclass Merge multimachine class into bitbake.conf and create singlemachine.bbclass as a backwards compatibility option 2008-07-17 20:49:48 +00:00
sip.bbclass sip.bbclass: Sync with OE 2007-09-02 11:07:13 +00:00
siteconfig.bbclass bitbake: machine specific sysroots implementation 2011-01-25 12:25:46 +00:00
siteinfo.bbclass siteinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded path 2010-09-10 12:56:56 +01:00
sourcepkg.bbclass Misc hard link fixes 2011-02-09 22:46:30 +00:00
src_distribute_local.bbclass classes: Sync various classes with OE for various bugfixes 2007-08-08 20:41:55 +00:00
src_distribute.bbclass src_distribute: Set EXPORT_FUNCTIONS correctly 2010-11-01 10:48:43 +00:00
srec.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
sstate.bbclass sstate.bbclass: add SSTATEPOSTINSTFUNCS 2011-02-23 15:52:51 +00:00
staging.bbclass Misc hard link fixes 2011-02-09 22:46:30 +00:00
syslinux.bbclass syslinux.bbclass: Clean up boot menu title 2008-10-17 08:39:34 +00:00
task.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
tinderclient.bbclass classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything 2010-12-31 09:51:18 +00:00
tmake.bbclass Remove hardcoded staging layout assumptions 2007-11-12 11:10:08 +00:00
toolchain-scripts.bbclass toolchain-script/populate_sdk/meta-toolchain: moving common code. 2011-02-17 17:25:21 -08:00
update-alternatives.bbclass update-alternatives.bbclass: don't expand var when appending do_install 2010-11-21 18:17:24 +00:00
update-rc.d.bbclass update-rc.d.bbclass: Changed RDEPENDS for native 2011-01-24 14:09:14 -08:00
utility-tasks.bbclass utility-tasks: Update checkuri to new fetcher API 2011-02-07 10:16:00 +00:00
utils.bbclass meta/classes: Update classes to use new fetcher API 2011-02-07 09:06:37 +00:00
xfce.bbclass Drop AUTOTOOLS_STAGE_PKGCONFIG variable as its not used anywhere 2010-12-05 20:40:03 +00:00
xlibs.bbclass Finally deprecate all legacy do_stage functions. This changes the existing warning 2010-07-22 11:44:28 +01:00