diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-07-24 11:11:14 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-07-24 11:11:14 +0000 |
commit | 771d131c0cc0f1042ae40e480a3d291dea82afbb (patch) | |
tree | 13923097245838ad51f5c0a33a464631d20eab46 /conf | |
parent | 82ea9077658bee1d22b3ca521fc3fd9343551a9b (diff) |
Add automatic generation of -dbg packages. These contain the debug symbols that are stripped from binaries and the symbols are linked to the original binaries via the gnu-debuglink section.If the -dbg packages are installed, oprofile and gdb will use them for symbol lookup.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/bitbake.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 7893fd75cf..d446d40b8f 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -102,7 +102,7 @@ PROVIDES = "" PROVIDES_prepend = "${P} ${PF} ${PN} " RPROVIDES = "" -PACKAGES = "${PN} ${PN}-doc ${PN}-dev ${PN}-locale" +PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-locale" FILES = "" FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \ ${sysconfdir} ${sharedstatedir} ${localstatedir} \ @@ -118,6 +118,8 @@ FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \ /lib/*.a /lib/*.o ${datadir}/aclocal" FILES_${PN}-locale = "${datadir}/locale" +FILES_${PN}-dbg = "${bindir}/*.dbg ${sbindir}/*.dbg ${libexecdir}/*.dbg ${libdir}/lib*.so.*.dbg \ + /bin/*.dbg /sbin/*.dbg /lib/*.so*.dbg ${libdir}/${PN}/*.dbg" # File manifest @@ -223,6 +225,7 @@ export AR = "${HOST_PREFIX}ar" export AS = "${HOST_PREFIX}as" export RANLIB = "${HOST_PREFIX}ranlib" export STRIP = "${HOST_PREFIX}strip" +export OBJCOPY = "${HOST_PREFIX}objcopy" export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}" |