mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-02 01:20:09 +00:00
arm/fvp-base-*: factor out commonality to fvp-envelope.inc
The fvp-base-a-aem and fvp-base-r-aem recipes have a lot in common, so extract that into a fvp-envelope.inc file. Change-Id: I9390f05e98bec0c1a236bc3c5d55b7144da1e1fd Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
require fvp-common.inc
|
require fvp-envelope.inc
|
||||||
|
|
||||||
SUMMARY = "Arm Fixed Virtual Platform - Armv-A Base RevC Architecture Envelope Model FVP"
|
SUMMARY = "Arm Fixed Virtual Platform - Armv-A Base RevC Architecture Envelope Model FVP"
|
||||||
HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms/arm-ecosystem-models"
|
|
||||||
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
|
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
|
||||||
file://license_terms/third_party_licenses.txt;md5=b40ecbbbd3409d48263437b782df6df9"
|
file://license_terms/third_party_licenses.txt;md5=b40ecbbbd3409d48263437b782df6df9"
|
||||||
|
|
||||||
@@ -16,11 +15,3 @@ python() {
|
|||||||
if not d.getVar("FVP_BASE_A_AEM_TARBALL_URI"):
|
if not d.getVar("FVP_BASE_A_AEM_TARBALL_URI"):
|
||||||
raise bb.parse.SkipRecipe("FVP_BASE_A_AEM_TARBALL_URI not set")
|
raise bb.parse.SkipRecipe("FVP_BASE_A_AEM_TARBALL_URI not set")
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
|
||||||
mkdir --parents ${D}${FVPDIR} ${D}${bindir}
|
|
||||||
|
|
||||||
cp --archive --no-preserve=ownership ${S}/Base_RevC_AEMvA_pkg/* ${D}${FVPDIR}/
|
|
||||||
|
|
||||||
fvp_link_binaries
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
require fvp-common.inc
|
require fvp-envelope.inc
|
||||||
|
|
||||||
SUMMARY = "Arm Fixed Virtual Platform - Armv8-R Base Architecture Envelope Model FVP"
|
SUMMARY = "Arm Fixed Virtual Platform - Armv8-R Base Architecture Envelope Model FVP"
|
||||||
HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms/arm-ecosystem-models"
|
|
||||||
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
|
LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
|
||||||
file://license_terms/third_party_licenses.txt;md5=3db0c4947b7e3405c40b943672d8de2f"
|
file://license_terms/third_party_licenses.txt;md5=3db0c4947b7e3405c40b943672d8de2f"
|
||||||
|
|
||||||
@@ -16,11 +15,3 @@ python() {
|
|||||||
if not d.getVar("FVP_BASE_R_AEM_TARBALL_URI"):
|
if not d.getVar("FVP_BASE_R_AEM_TARBALL_URI"):
|
||||||
raise bb.parse.SkipRecipe("FVP_BASE_R_AEM_TARBALL_URI not set")
|
raise bb.parse.SkipRecipe("FVP_BASE_R_AEM_TARBALL_URI not set")
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
|
||||||
mkdir --parents ${D}${FVPDIR} ${D}${bindir}
|
|
||||||
|
|
||||||
cp --archive --no-preserve=ownership ${S}/AEMv8R_base_pkg//* ${D}${FVPDIR}/
|
|
||||||
|
|
||||||
fvp_link_binaries
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
require fvp-common.inc
|
||||||
|
|
||||||
|
HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms/arm-ecosystem-models"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
mkdir --parents ${D}${FVPDIR} ${D}${bindir}
|
||||||
|
|
||||||
|
cp --archive --no-preserve=ownership ${S}/*_pkg/* ${D}${FVPDIR}/
|
||||||
|
|
||||||
|
fvp_link_binaries
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user