summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-13 19:21:52 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-13 19:21:52 +0000
commit18f2e2772aa8a741317639bcd82be013277922bb (patch)
treec7950b8e2bf36f17d6136697131c07458e80ca8e /meta/conf
parent320be50c5018a4860a8cd083acaaf2c0d834a271 (diff)
downloadpoky-18f2e2772aa8a741317639bcd82be013277922bb.tar.gz
Fix PE handling in version strings
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3141 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 3d19a3a5d9..166d986862 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -115,6 +115,8 @@ PV = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1.
115PR = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}" 115PR = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}"
116PF = "${PN}-${EXTENDPE}${PV}-${PR}" 116PF = "${PN}-${EXTENDPE}${PV}-${PR}"
117EXTENDPE = "${@['','${PE\x7d_'][bb.data.getVar('PE',d,1) > 0]}" 117EXTENDPE = "${@['','${PE\x7d_'][bb.data.getVar('PE',d,1) > 0]}"
118EXTENDPEVER = "${@['','${PE\x7d:'][bb.data.getVar('PE',d,1) > 0]}"
119DEBPV = "${EXTENDPEVER}${PV}-${PR}"
118P = "${PN}-${PV}" 120P = "${PN}-${PV}"
119 121
120# Package info. 122# Package info.
@@ -160,14 +162,14 @@ FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \
160 ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" 162 ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal"
161SECTION_${PN}-dev = "devel" 163SECTION_${PN}-dev = "devel"
162ALLOW_EMPTY_${PN}-dev = "1" 164ALLOW_EMPTY_${PN}-dev = "1"
163RDEPENDS_${PN}-dev = "${PN} (= ${PE}:${PV}-${PR})" 165RDEPENDS_${PN}-dev = "${PN} (= ${DEBPV})"
164 166
165FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \ 167FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \
166 ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug \ 168 ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug \
167 ${libdir}/matchbox-panel/.debug" 169 ${libdir}/matchbox-panel/.debug"
168SECTION_${PN}-dbg = "devel" 170SECTION_${PN}-dbg = "devel"
169ALLOW_EMPTY_${PN}-dbg = "1" 171ALLOW_EMPTY_${PN}-dbg = "1"
170RRECOMMENDS_${PN}-dbg = "${PN} (= ${PE}:${PV}-${PR})" 172RRECOMMENDS_${PN}-dbg = "${PN} (= ${DEBPV})"
171 173
172FILES_${PN}-locale = "${datadir}/locale" 174FILES_${PN}-locale = "${datadir}/locale"
173 175