imx-boot: remove u-boot-hash.bin between build iterations

This is a new intermediate file that will be reused in every iteration if it's
not removed, causing all imx-boot images to have the same U-Boot binary.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2019-01-11 09:54:42 +01:00 committed by Arturo Buzarra
parent ddc71f77bc
commit 6a4d40ceca
1 changed files with 2 additions and 1 deletions

View File

@ -106,8 +106,9 @@ do_compile () {
done done
rm ${S}/${SOC_DIR}/scfw_tcm.bin rm ${S}/${SOC_DIR}/scfw_tcm.bin
rm ${S}/${SOC_DIR}/u-boot.bin rm ${S}/${SOC_DIR}/u-boot.bin
# Remove u-boot-atf.bin so it gets generated with the next iteration's U-Boot # Remove u-boot-atf.bin and u-boot-hash.bin so they get generated with the next iteration's U-Boot
rm ${S}/${SOC_DIR}/u-boot-atf.bin rm ${S}/${SOC_DIR}/u-boot-atf.bin
rm ${S}/${SOC_DIR}/u-boot-hash.bin
done done
} }