diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-13 14:31:17 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-13 14:31:17 +0000 |
commit | 405128d1cd928b5bdb2ab82bcd81998cf02c074a (patch) | |
tree | adf410442f387deb7ecec6c6404dce1917b665a6 /meta | |
parent | bc2ed58f3f03ea03f5667d9fe8af8a0823b8f438 (diff) | |
download | poky-405128d1cd928b5bdb2ab82bcd81998cf02c074a.tar.gz |
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.conf | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index ddfaeed48b..c4836beddb 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -160,14 +160,14 @@ FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ | |||
160 | ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" | 160 | ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" |
161 | SECTION_${PN}-dev = "devel" | 161 | SECTION_${PN}-dev = "devel" |
162 | ALLOW_EMPTY_${PN}-dev = "1" | 162 | ALLOW_EMPTY_${PN}-dev = "1" |
163 | RDEPENDS_${PN}-dev = "${PN} (= ${PV}-${PR})" | 163 | RDEPENDS_${PN}-dev = "${PN} (= ${PE}:${PV}-${PR})" |
164 | 164 | ||
165 | FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \ | 165 | FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \ |
166 | ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug \ | 166 | ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug \ |
167 | ${libdir}/matchbox-panel/.debug" | 167 | ${libdir}/matchbox-panel/.debug" |
168 | SECTION_${PN}-dbg = "devel" | 168 | SECTION_${PN}-dbg = "devel" |
169 | ALLOW_EMPTY_${PN}-dbg = "1" | 169 | ALLOW_EMPTY_${PN}-dbg = "1" |
170 | RRECOMMENDS_${PN}-dbg = "${PN} (= ${PV}-${PR})" | 170 | RRECOMMENDS_${PN}-dbg = "${PN} (= ${PE}:${PV}-${PR})" |
171 | 171 | ||
172 | FILES_${PN}-locale = "${datadir}/locale" | 172 | FILES_${PN}-locale = "${datadir}/locale" |
173 | 173 | ||
@@ -340,7 +340,9 @@ export TARGET_CPPFLAGS = "" | |||
340 | 340 | ||
341 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" | 341 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" |
342 | export CFLAGS = "${TARGET_CFLAGS}" | 342 | export CFLAGS = "${TARGET_CFLAGS}" |
343 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | 343 | # Double spaces in CFLAGS upsets gdb... |
344 | #export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | ||
345 | export TARGET_CFLAGS = "${SELECTED_OPTIMIZATION}" | ||
344 | 346 | ||
345 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" | 347 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" |
346 | export CXXFLAGS = "${TARGET_CXXFLAGS}" | 348 | export CXXFLAGS = "${TARGET_CXXFLAGS}" |