diff options
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index dcf2007883..6480062354 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -199,9 +199,9 @@ ASSUME_PROVIDED = "\ | |||
199 | # Package default variables. | 199 | # Package default variables. |
200 | ################################################################## | 200 | ################################################################## |
201 | 201 | ||
202 | PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" | 202 | PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" |
203 | PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}" | 203 | PV = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}" |
204 | PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'}" | 204 | PR = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'}" |
205 | PE = "" | 205 | PE = "" |
206 | PF = "${PN}-${EXTENDPE}${PV}-${PR}" | 206 | PF = "${PN}-${EXTENDPE}${PV}-${PR}" |
207 | EXTENDPE = "${@['','${PE}_'][int(d.getVar('PE') or 0) > 0]}" | 207 | EXTENDPE = "${@['','${PE}_'][int(d.getVar('PE') or 0) > 0]}" |