blob: 365b39c404cbc429ddba4840c641594f29175e73 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001require fvp-common.inc
2
3# These need to be set
4MODEL ?= "unset"
5MODEL_CODE ?= "unset"
6PV ?= "unset"
7
8SUMMARY = "Arm Fixed Virtual Platform - ${MODEL} Ecosystem Reference Design"
9HOMEPAGE = "https://developer.arm.com/tools-and-software/open-source-software/arm-platforms-software/arm-ecosystem-fvps"
10
11SRC_URI = "https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/${MODEL}/${MODEL_CODE}_${PV_URL}.tgz;subdir=${BP}"
12
13UPSTREAM_CHECK_URI = "${HOMEPAGE}"
14UPSTREAM_CHECK_REGEX = "${MODEL_CODE}_(?P<pver>(\d+[\.\-_]*)+).tgz"
15
16do_install() {
17 mkdir --parents ${D}${FVPDIR} ${D}${bindir}
18
19 ${S}/${MODEL_CODE}.sh \
20 --i-agree-to-the-contained-eula \
21 --no-interactive \
22 --destination ${D}${FVPDIR}
23
24 fvp_link_binaries
25}