summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-24 08:35:37 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-24 08:35:37 +0000
commit2ca73b57dc7df958ce80bfa3c2e3dc3fc18950b5 (patch)
tree3e901319353dfdc6d8175b9d65a021943ae91a2c /meta/conf
parent23b93ceb820de17f28c2bf2bf114c0fca70cf159 (diff)
downloadpoky-2ca73b57dc7df958ce80bfa3c2e3dc3fc18950b5.tar.gz
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.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@546 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 529405a3eb..6c15ef71b4 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -102,7 +102,7 @@ PROVIDES = ""
102PROVIDES_prepend = "${P} ${PF} ${PN} " 102PROVIDES_prepend = "${P} ${PF} ${PN} "
103RPROVIDES = "" 103RPROVIDES = ""
104 104
105PACKAGES = "${PN} ${PN}-doc ${PN}-dev ${PN}-locale" 105PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-locale"
106FILES = "" 106FILES = ""
107FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \ 107FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \
108 ${sysconfdir} ${sharedstatedir} ${localstatedir} \ 108 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
@@ -118,6 +118,8 @@ FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \
118 ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \ 118 ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \
119 /lib/*.a /lib/*.o ${datadir}/aclocal" 119 /lib/*.a /lib/*.o ${datadir}/aclocal"
120FILES_${PN}-locale = "${datadir}/locale" 120FILES_${PN}-locale = "${datadir}/locale"
121FILES_${PN}-dbg = "${bindir}/*.dbg ${sbindir}/*.dbg ${libexecdir}/*.dbg ${libdir}/lib*.so.*.dbg \
122 /bin/*.dbg /sbin/*.dbg /lib/*.so*.dbg ${libdir}/${PN}/*.dbg"
121 123
122# File manifest 124# File manifest
123 125
@@ -222,6 +224,7 @@ export AR = "${HOST_PREFIX}ar"
222export AS = "${HOST_PREFIX}as" 224export AS = "${HOST_PREFIX}as"
223export RANLIB = "${HOST_PREFIX}ranlib" 225export RANLIB = "${HOST_PREFIX}ranlib"
224export STRIP = "${HOST_PREFIX}strip" 226export STRIP = "${HOST_PREFIX}strip"
227export OBJCOPY = "${HOST_PREFIX}objcopy"
225 228
226export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" 229export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}"
227export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}" 230export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}"