summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-20 16:38:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-22 07:45:17 +0100
commitad5464eb7ef5ab80f74b22bfb0f3dc63174b78cc (patch)
tree559cc72673d1a1e165060fe5d5366ac7f8c13a8e /meta/conf/bitbake.conf
parent1b94ea8b2516c929830fea716bb027a9ea1a3a1e (diff)
downloadpoky-ad5464eb7ef5ab80f74b22bfb0f3dc63174b78cc.tar.gz
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>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8b26461874..67577c8fe7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -237,7 +237,7 @@ ASSUME_PROVIDED = "\
237 237
238PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" 238PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
239PV = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}" 239PV = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
240PR = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'}" 240PR = "r0"
241PE = "" 241PE = ""
242PF = "${PN}-${EXTENDPE}${PV}-${PR}" 242PF = "${PN}-${EXTENDPE}${PV}-${PR}"
243EXTENDPE = "${@['','${PE}_'][int(d.getVar('PE') or 0) > 0]}" 243EXTENDPE = "${@['','${PE}_'][int(d.getVar('PE') or 0) > 0]}"