mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-10-19 18:47:26 +00:00
arm/fvp: add more helper variables for the versioning
Add more helper variables for the FVP version to help construct URLs. If PV is 1.2.3, then VERSION is 1.2 and BUILD is 3. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
1 parent
22282ea893
commit
d47e6a89e1
1 file changed
+4
@@ -15,6 +15,10 @@ def get_real_pv(d):
|
||||
# FVP versions are like 11.12_43
|
||||
pv = d.getVar("PV")
|
||||
return "%s.%s_%s" % tuple(pv.split("."))
|
||||
|
||||
# If PV is 1.2.3, VERSION=1.2, BUILD=3, PV_URL=1.2_3.
|
||||
VERSION = "${@oe.utils.trim_version(d.getVar('PV', -1))}"
|
||||
BUILD = "${@d.getVar('PV').split('.')[-1]}"
|
||||
PV_URL = "${@get_real_pv(d)}"
|
||||
|
||||
# The directory the FVP is installed into
|
||||
|
||||
Reference in new issue
Block a user