1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-06 04:42:16 +00:00

arm/fvp-common: store the mangled PV as PV_URL

FVP versions in the download URLs are expressed as 11.12_13, but ideally
we'll use a rationalised 11.12.13 form as it's more consistant.

Add a function to transform from a all-dots form to use underscore for
the final portion, and expose this version as PV_URL.

Change-Id: I632b33913baba0f0847440595ef0699d0a769166
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2021-09-20 19:06:14 +01:00
committed by Jon Mason
parent 9a09fadc11
commit f8ec2709a1

View File

@@ -9,6 +9,12 @@ LICENSE = "Proprietary & Apache-2.0 & Python-2.0 & GPL-3.0-with-GCC-exception &
COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
FVP_ARCH = "Linux64_GCC-6.4"
def get_real_pv(d):
# FVP versions are like 11.12_43
pv = d.getVar("PV")
return "%s.%s_%s" % tuple(pv.split("."))
PV_URL = "${@get_real_pv(d)}"
# The directory the FVP is installed into
FVPDIR = "${libdir}/fvp/${BPN}"