1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-30 00:21:17 +00:00

trusted-firmware-a: Install .elf file from subdirectory

The ELF files produced are in a subdirectory named by the build target
(e.g. "bl31/bl31.elf") instead of the BUILD_PLAT directory.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Joshua Watt
2020-05-13 10:47:07 -05:00
committed by Jon Mason
parent a4f15634db
commit abb036ee56
@@ -110,9 +110,9 @@ do_install() {
echo "Install $atfbin.bin"
install -m 0644 $BUILD_PLAT/$atfbin.bin \
${D}/firmware/$atfbin-${TFA_PLATFORM}.bin
elif [ -f $BUILD_PLAT/$atfbin.elf ]; then
elif [ -f $BUILD_PLAT/$atfbin/$atfbin.elf ]; then
echo "Install $atfbin.elf"
install -m 0644 $BUILD_PLAT/$atfbin.elf \
install -m 0644 $BUILD_PLAT/$atfbin/$atfbin.elf \
${D}/firmware/$atfbin-${TFA_PLATFORM}.elf
elif [ -f $BUILD_PLAT/$atfbin ]; then
echo "Install $atfbin"