mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 19:43:05 +00:00
bitbake.conf: No longer support PR from filename
Nobody really sets PR from the recipe filename, we might as well drop the overhead of the python function call and simplify the variable. (From OE-Core rev: 5f2691a51a851e8337704aa00899eb27250f0f3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1b94ea8b25
commit
ad5464eb7e
@ -237,7 +237,7 @@ ASSUME_PROVIDED = "\
|
||||
|
||||
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
|
||||
PV = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
|
||||
PR = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'}"
|
||||
PR = "r0"
|
||||
PE = ""
|
||||
PF = "${PN}-${EXTENDPE}${PV}-${PR}"
|
||||
EXTENDPE = "${@['','${PE}_'][int(d.getVar('PE') or 0) > 0]}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user