summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-13 14:31:17 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-13 14:31:17 +0000
commit405128d1cd928b5bdb2ab82bcd81998cf02c074a (patch)
treeadf410442f387deb7ecec6c6404dce1917b665a6 /meta
parentbc2ed58f3f03ea03f5667d9fe8af8a0823b8f438 (diff)
downloadopenembedded-core-405128d1cd928b5bdb2ab82bcd81998cf02c074a.tar.gz
openembedded-core-405128d1cd928b5bdb2ab82bcd81998cf02c074a.tar.bz2
openembedded-core-405128d1cd928b5bdb2ab82bcd81998cf02c074a.tar.xz
openembedded-core-405128d1cd928b5bdb2ab82bcd81998cf02c074a.zip
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
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf8
1 files changed, 5 insertions, 3 deletions
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}"