diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-12-02 19:39:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-05 16:16:12 +0000 |
commit | f6da26f98254046a59983adf8e831bf1eeb9169f (patch) | |
tree | 37c8dc0c31ee1712d11d02e9a27ca484c348326d /meta/conf | |
parent | 2dfe16912168885be5901f35767db1d5c8eee4fc (diff) | |
download | poky-f6da26f98254046a59983adf8e831bf1eeb9169f.tar.gz |
bitbake.conf: add default PRINC 0 to be able to increment it
(From OE-Core rev: 656793c706d84460f397b10ceb23ebb721ed3960)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index acba388226..e80cc32b7d 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -167,6 +167,7 @@ ASSUME_PROVIDED = "\ | |||
167 | PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[0] or 'defaultpkgname'}" | 167 | PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[0] or 'defaultpkgname'}" |
168 | PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1] or '1.0'}" | 168 | PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1] or '1.0'}" |
169 | PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[2] or 'r0'}" | 169 | PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[2] or 'r0'}" |
170 | PRINC ?= "0" | ||
170 | PF = "${PN}-${EXTENDPE}${PV}-${PR}" | 171 | PF = "${PN}-${EXTENDPE}${PV}-${PR}" |
171 | EXTENDPE = "${@['','${PE\x7d_'][d.getVar('PE',1) > 0]}" | 172 | EXTENDPE = "${@['','${PE\x7d_'][d.getVar('PE',1) > 0]}" |
172 | P = "${PN}-${PV}" | 173 | P = "${PN}-${PV}" |