summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index d5e923b713..8d4ccce243 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -188,7 +188,7 @@ PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1] or '1.0'}"
188PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[2] or 'r0'}" 188PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[2] or 'r0'}"
189PRINC ?= "0" 189PRINC ?= "0"
190PF = "${PN}-${EXTENDPE}${PV}-${PR}" 190PF = "${PN}-${EXTENDPE}${PV}-${PR}"
191EXTENDPE = "${@['','${PE\x7d_'][d.getVar('PE',1) > 0]}" 191EXTENDPE = "${@['','${PE\x7d_'][int(d.getVar('PE',1) or 0) > 0]}"
192P = "${PN}-${PV}" 192P = "${PN}-${PV}"
193 193
194EXTENDPRAUTO = "${@['.${PRAUTO\x7d',''][d.getVar('PRAUTO',1) is None]}" 194EXTENDPRAUTO = "${@['.${PRAUTO\x7d',''][d.getVar('PRAUTO',1) is None]}"
@@ -196,7 +196,7 @@ PRAUTOINX = "${PF}"
196 196
197PKGV ?= "${PV}" 197PKGV ?= "${PV}"
198PKGR ?= "${PR}${EXTENDPRAUTO}" 198PKGR ?= "${PR}${EXTENDPRAUTO}"
199PKGE ?= "${@['','${PE\x7d'][d.getVar('PE',1) > 0]}" 199PKGE ?= "${@['','${PE\x7d'][int(d.getVar('PE',1) or 0) > 0]}"
200EXTENDPKGEVER = "${@['','${PKGE\x7d:'][d.getVar('PKGE',1).strip() != '']}" 200EXTENDPKGEVER = "${@['','${PKGE\x7d:'][d.getVar('PKGE',1).strip() != '']}"
201EXTENDPKGV ?= "${EXTENDPKGEVER}${PKGV}-${PKGR}" 201EXTENDPKGV ?= "${EXTENDPKGEVER}${PKGV}-${PKGR}"
202 202