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
This commit is contained in:
parent
bc2ed58f3f
commit
405128d1cd
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue