summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-12-02 19:39:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:43:44 +0000
commit935678cbe172f6c9a70ac293d8d19dc64ce0b38f (patch)
treedb23b902c7c91003e263d2e6269d35778cd64fbf /meta/classes
parentee75b5020b3fb70028f3e4653135b1cae754bd20 (diff)
downloadpoky-935678cbe172f6c9a70ac293d8d19dc64ce0b38f.tar.gz
bitbake.conf: add default PRINC 0 to be able to increment it
(From OE-Core rev: 656793c706d84460f397b10ceb23ebb721ed3960) (From OE-Core rev: 32f0ad32d901ae5a97d912d8d36d4d9a2b502919) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 170069460d..d020964a01 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -327,7 +327,7 @@ python () {
327 327
328 # If PRINC is set, try and increase the PR value by the amount specified 328 # If PRINC is set, try and increase the PR value by the amount specified
329 princ = bb.data.getVar('PRINC', d, True) 329 princ = bb.data.getVar('PRINC', d, True)
330 if princ: 330 if princ and princ != "0":
331 pr = bb.data.getVar('PR', d, True) 331 pr = bb.data.getVar('PR', d, True)
332 pr_prefix = re.search("\D+",pr) 332 pr_prefix = re.search("\D+",pr)
333 prval = re.search("\d+",pr) 333 prval = re.search("\d+",pr)