imx-boot: remove intermediate binary between mkimage iterations

Since this binary (u-boot-atf.bin) wasn't being deleted, the mkimage makefile
was using the one from the previous iteration, causing the 1GB imx-boot to
contain the 2GB U-Boot.

https://jira.digi.com/browse/DEL-6094

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2018-08-09 17:27:03 +02:00
parent d3865a7e6e
commit f6639026d8
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,8 @@ do_compile () {
cp ${S}/${SOC_TARGET}/${DCD_NAME} ${S}/${SOC_TARGET}/${DCD_NAME}-${type}
rm ${S}/${SOC_TARGET}/${DCD_SRC_NAME}
rm ${S}/${SOC_TARGET}/u-boot.bin
# Remove u-boot-atf.bin so it gets generated with the next iteration's U-Boot
rm ${S}/${SOC_TARGET}/u-boot-atf.bin
done
}