Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | require fvp-common.inc |
| 2 | |
| 3 | # These need to be set |
| 4 | MODEL ?= "unset" |
| 5 | MODEL_CODE ?= "unset" |
| 6 | PV ?= "unset" |
| 7 | |
| 8 | SUMMARY = "Arm Fixed Virtual Platform - ${MODEL} Ecosystem Reference Design" |
| 9 | HOMEPAGE = "https://developer.arm.com/tools-and-software/open-source-software/arm-platforms-software/arm-ecosystem-fvps" |
| 10 | |
| 11 | SRC_URI = "https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/${MODEL}/${MODEL_CODE}_${PV_URL}.tgz;subdir=${BP}" |
| 12 | |
| 13 | UPSTREAM_CHECK_URI = "${HOMEPAGE}" |
| 14 | UPSTREAM_CHECK_REGEX = "${MODEL_CODE}_(?P<pver>(\d+[\.\-_]*)+).tgz" |
| 15 | |
| 16 | do_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 | } |