mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-31 12:50:02 +00:00
trusted-firmware-a: Deliver binaries artefacts to sysroot/firmware
Make usage of the do_install task to deliver binaries artefacts to the `sysroot/firmware` path, making it easier for other recipes that depends on it to make usage of those binaries instead of copying them from the DEPLOY_DIR_IMAGE. This recipe still deploys its artefacts to DEPLOY_DIR_IMAGE. Change-Id: I97b97f90b23746557e981f8de10159c5f475becd Issue-Id: SCM-888 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Reviewed-By: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -12,9 +12,9 @@ TFA_MBEDTLS = "1"
|
||||
TFA_UBOOT = "1"
|
||||
TFA_BUILD_TARGET = "bl1 bl2 bl31 dtbs fiptool"
|
||||
|
||||
do_deploy[depends] += "virtual/kernel:do_deploy"
|
||||
do_install[depends] += "virtual/kernel:do_deploy"
|
||||
|
||||
do_deploy_append() {
|
||||
do_install_append() {
|
||||
./tools/fiptool/fiptool create \
|
||||
--tb-fw ${S}/${TFA_BUILD_DIR}/bl2.bin \
|
||||
--soc-fw ${S}/${TFA_BUILD_DIR}/bl31.bin \
|
||||
@@ -26,6 +26,5 @@ do_deploy_append() {
|
||||
|
||||
./tools/fiptool/fiptool info fip.bin
|
||||
|
||||
install -m 0644 ${S}/fip.bin ${DEPLOYDIR}/fip-fvp.bin
|
||||
install -m 0644 ${S}/fip.bin ${D}/firmware/fip-fvp.bin
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user