diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-13 19:21:52 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-13 19:21:52 +0000 |
commit | 18f2e2772aa8a741317639bcd82be013277922bb (patch) | |
tree | c7950b8e2bf36f17d6136697131c07458e80ca8e /meta/conf | |
parent | 320be50c5018a4860a8cd083acaaf2c0d834a271 (diff) | |
download | poky-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.conf | 6 |
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. | |||
115 | PR = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}" | 115 | PR = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}" |
116 | PF = "${PN}-${EXTENDPE}${PV}-${PR}" | 116 | PF = "${PN}-${EXTENDPE}${PV}-${PR}" |
117 | EXTENDPE = "${@['','${PE\x7d_'][bb.data.getVar('PE',d,1) > 0]}" | 117 | EXTENDPE = "${@['','${PE\x7d_'][bb.data.getVar('PE',d,1) > 0]}" |
118 | EXTENDPEVER = "${@['','${PE\x7d:'][bb.data.getVar('PE',d,1) > 0]}" | ||
119 | DEBPV = "${EXTENDPEVER}${PV}-${PR}" | ||
118 | P = "${PN}-${PV}" | 120 | P = "${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" |
161 | SECTION_${PN}-dev = "devel" | 163 | SECTION_${PN}-dev = "devel" |
162 | ALLOW_EMPTY_${PN}-dev = "1" | 164 | ALLOW_EMPTY_${PN}-dev = "1" |
163 | RDEPENDS_${PN}-dev = "${PN} (= ${PE}:${PV}-${PR})" | 165 | RDEPENDS_${PN}-dev = "${PN} (= ${DEBPV})" |
164 | 166 | ||
165 | FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \ | 167 | FILES_${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" |
168 | SECTION_${PN}-dbg = "devel" | 170 | SECTION_${PN}-dbg = "devel" |
169 | ALLOW_EMPTY_${PN}-dbg = "1" | 171 | ALLOW_EMPTY_${PN}-dbg = "1" |
170 | RRECOMMENDS_${PN}-dbg = "${PN} (= ${PE}:${PV}-${PR})" | 172 | RRECOMMENDS_${PN}-dbg = "${PN} (= ${DEBPV})" |
171 | 173 | ||
172 | FILES_${PN}-locale = "${datadir}/locale" | 174 | FILES_${PN}-locale = "${datadir}/locale" |
173 | 175 | ||