From 966d3ec03191e56b5a91eaa018c2786a853af904 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 25 Mar 2022 13:48:47 +0000 Subject: [PATCH] arm/fvp: generalise FVP_ARCH Use wildcards in the FVP_ARCH assignment, as older FVPs use _GCC-6.4 whilst newer FVPs use _GCC-9.3. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb | 1 - meta-arm/recipes-devtools/fvp/fvp-common.inc | 4 +++- meta-arm/recipes-devtools/fvp/fvp-corstone1000.bb | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb b/meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb index 911cc00a..f21ccae3 100644 --- a/meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb +++ b/meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb @@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba # (for example, file:///home/user/FVP_Base_AEMv8R_11.17_21.tgz). FVP_BASE_R_AEM_TARBALL_URI ?= "" PV = "11.17.21" -FVP_ARCH = "Linux64_GCC-9.3" SRC_URI = "${FVP_BASE_R_AEM_TARBALL_URI};subdir=${BP}" python() { diff --git a/meta-arm/recipes-devtools/fvp/fvp-common.inc b/meta-arm/recipes-devtools/fvp/fvp-common.inc index 9667892b..cf6cad04 100644 --- a/meta-arm/recipes-devtools/fvp/fvp-common.inc +++ b/meta-arm/recipes-devtools/fvp/fvp-common.inc @@ -7,7 +7,9 @@ LICENSE_FLAGS = "Arm-FVP-EULA" LICENSE = "Proprietary & Apache-2.0 & Python-2.0 & GPL-3.0-with-GCC-exception & Zlib & NCSA & LGPL-2.0-or-later & MIT & BSD-3-Clause" COMPATIBLE_HOST = '(x86_64|i.86).*-linux' -FVP_ARCH = "Linux64_GCC-6.4" + +# The architecture-specific directory the binaries are installed under +FVP_ARCH = "Linux64_GCC-*" def get_real_pv(d): # FVP versions are like 11.12_43 diff --git a/meta-arm/recipes-devtools/fvp/fvp-corstone1000.bb b/meta-arm/recipes-devtools/fvp/fvp-corstone1000.bb index dcb6b7d1..b7b22f12 100644 --- a/meta-arm/recipes-devtools/fvp/fvp-corstone1000.bb +++ b/meta-arm/recipes-devtools/fvp/fvp-corstone1000.bb @@ -10,5 +10,3 @@ SRC_URI[sha256sum] = "00ccb72d02c90e2424d24a625d275cabf8ea8dc024713985208f618bb8 LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \ file://license_terms/third_party_licenses.txt;md5=41029e71051b1c786bae3112a29905a7" -FVP_ARCH = "Linux64_GCC-9.3" -