mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
Replace inherit deploy with firmware.
Initialize TFA_DEBUG using the FIRMWARE_DEBUG_BUILD variable. Initialize
TFA_PLATFORM with FIRMWARE_PLATFORM.
Refactor do_install to use ${FIRMWARE_DIR} and remove now redundant
configuration. Drop the redundant ${TFA_PLATFORM} suffixes.
Update BSP conf files to use the new deploy location, including
symlinking back to ${DEPLOYDIR} where necessary.
Signed-off-by: Peter Hoyes <peter.hoyes@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
27 lines
1004 B
PHP
27 lines
1004 B
PHP
COMPATIBLE_MACHINE:sbsa-ref = "sbsa-ref"
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI:append = " file://0001-BootLogoLib-align-logo-coords-to-be-even.patch"
|
|
# Need to use git as the BootLogo fix includes a binary patch, which quilt cannot handle
|
|
PATCHTOOL = "git"
|
|
|
|
DEPENDS:append:sbsa-ref = " trusted-firmware-a coreutils-native"
|
|
|
|
EDK2_PLATFORM:sbsa-ref = "SbsaQemu"
|
|
EDK2_PLATFORM_DSC:sbsa-ref = "Platform/Qemu/SbsaQemu/SbsaQemu.dsc"
|
|
EDK2_BIN_NAME:sbsa-ref = "SBSA_FLASH0.fd"
|
|
|
|
do_compile:prepend:sbsa-ref() {
|
|
mkdir -p ${B}/Platform/Qemu/Sbsa/
|
|
cp ${RECIPE_SYSROOT}/firmware/trusted-firmware-a/bl1.bin ${B}/Platform/Qemu/Sbsa/
|
|
cp ${RECIPE_SYSROOT}/firmware/trusted-firmware-a/fip.bin ${B}/Platform/Qemu/Sbsa/
|
|
}
|
|
|
|
do_install:append:sbsa-ref() {
|
|
install ${B}/Build/${EDK2_PLATFORM}/${EDK2_BUILD_MODE}_${EDK_COMPILER}/FV/SBSA_FLASH*.fd ${D}/firmware/
|
|
# QEMU requires that the images be minimum of 256M in size
|
|
truncate -s 256M ${D}/firmware/SBSA_FLASH*.fd
|
|
}
|
|
|