From 68c3c7270292e992a857cab696b0131f283a1c1a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 24 May 2021 12:50:55 +0100 Subject: [PATCH] arm/fvp-library: add recipe for the FVP Library Add a recipe for the FVP Library: https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms This is free to download but is behind a login-wall, and the FVPs are license managed. Change-Id: Ia0e7b1bfac54e06faf9d517d5b769acf9670724a Signed-off-by: Ross Burton --- meta-arm/recipes-devtools/fvp/fvp-library.bb | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-arm/recipes-devtools/fvp/fvp-library.bb diff --git a/meta-arm/recipes-devtools/fvp/fvp-library.bb b/meta-arm/recipes-devtools/fvp/fvp-library.bb new file mode 100644 index 00000000..13bf7785 --- /dev/null +++ b/meta-arm/recipes-devtools/fvp/fvp-library.bb @@ -0,0 +1,22 @@ +require fvp-ecosystem.inc + +MODEL = "Library" +MODEL_CODE = "FVP_ARM_Std_Library" +PV = "11.14_21" + +HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms" + +LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=a50d186fffa51ed55599183aad911298 \ + file://license_terms/third_party_licenses.txt;md5=b40ecbbbd3409d48263437b782df6df9" + + +# The FVP Library tarball cannot be downloaded directly, so download the it +# yourself from from the homepage and set FVP_LIBRARY_TARBALL_URI appropriately +# (for example, "file:///home/user/FVP_ARM_Std_Library_11.14_21.tgz"). +FVP_LIBRARY_TARBALL_URI ?= "" + +SRC_URI = "${FVP_LIBRARY_TARBALL_URI};subdir=${BP}" +python() { + if not d.getVar("FVP_LIBRARY_TARBALL_URI"): + raise bb.parse.SkipRecipe("FVP_LIBRARY_TARBALL_URI not set") +}