From 405128d1cd928b5bdb2ab82bcd81998cf02c074a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 13 Nov 2007 14:31:17 +0000 Subject: bitbake.conf: Add PE to RDEPENDS and RRECOMMENDS for -dev and -dbg packages. Remove double space from CFLAGS, it confuses gdb git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3138 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/conf/bitbake.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'meta') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index ddfaeed48..c4836bedd 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -160,14 +160,14 @@ FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" SECTION_${PN}-dev = "devel" ALLOW_EMPTY_${PN}-dev = "1" -RDEPENDS_${PN}-dev = "${PN} (= ${PV}-${PR})" +RDEPENDS_${PN}-dev = "${PN} (= ${PE}:${PV}-${PR})" FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \ ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug \ ${libdir}/matchbox-panel/.debug" SECTION_${PN}-dbg = "devel" ALLOW_EMPTY_${PN}-dbg = "1" -RRECOMMENDS_${PN}-dbg = "${PN} (= ${PV}-${PR})" +RRECOMMENDS_${PN}-dbg = "${PN} (= ${PE}:${PV}-${PR})" FILES_${PN}-locale = "${datadir}/locale" @@ -340,7 +340,9 @@ export TARGET_CPPFLAGS = "" export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" export CFLAGS = "${TARGET_CFLAGS}" -export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" +# Double spaces in CFLAGS upsets gdb... +#export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" +export TARGET_CFLAGS = "${SELECTED_OPTIMIZATION}" export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" export CXXFLAGS = "${TARGET_CXXFLAGS}" -- cgit v1.2.3