diff --git a/meta-arm/recipes-devtools/fvp/fvp-base-a-aem.bb b/meta-arm/recipes-devtools/fvp/fvp-base-a-aem.bb index 6b1e020d..2ef85995 100644 --- a/meta-arm/recipes-devtools/fvp/fvp-base-a-aem.bb +++ b/meta-arm/recipes-devtools/fvp/fvp-base-a-aem.bb @@ -6,5 +6,7 @@ LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba PV = "11.15.18" -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/ecosystem-models/FVP_Base_RevC-2xAEMvA_${PV_URL}.tgz;subdir=${BP}" +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/ecosystem-models/${MODEL_CODE}_${PV_URL}.tgz;subdir=${BP}" SRC_URI[sha256sum] = "05e474d6b8197c749c66968315fdb7059d398b279bef59787025a88219c71ae4" + +MODEL_CODE = "FVP_Base_RevC-2xAEMvA" diff --git a/meta-arm/recipes-devtools/fvp/fvp-ecosystem.inc b/meta-arm/recipes-devtools/fvp/fvp-ecosystem.inc index 100f6a23..ef01bdc1 100644 --- a/meta-arm/recipes-devtools/fvp/fvp-ecosystem.inc +++ b/meta-arm/recipes-devtools/fvp/fvp-ecosystem.inc @@ -13,6 +13,9 @@ SRC_URI = "https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloa LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \ file://license_terms/third_party_licenses.txt;md5=47473b1e04b70938cf0a7ffea8ea4cc3" +UPSTREAM_CHECK_URI = "${HOMEPAGE}" +UPSTREAM_CHECK_REGEX = "${MODEL_CODE}_(?P(\d+[\.\-_]*)+).tgz" + do_install() { mkdir --parents ${D}${FVPDIR} ${D}${bindir} diff --git a/meta-arm/recipes-devtools/fvp/fvp-envelope.inc b/meta-arm/recipes-devtools/fvp/fvp-envelope.inc index eda98762..4f6bb370 100644 --- a/meta-arm/recipes-devtools/fvp/fvp-envelope.inc +++ b/meta-arm/recipes-devtools/fvp/fvp-envelope.inc @@ -2,6 +2,9 @@ require fvp-common.inc HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms/arm-ecosystem-models" +UPSTREAM_CHECK_URI = "${HOMEPAGE}" +UPSTREAM_CHECK_REGEX = "${MODEL_CODE}_(?P(\d+[\.\-_]*)+).tgz" + do_install() { mkdir --parents ${D}${FVPDIR} ${D}${bindir}