From 6a4d40ceca0ad018656c0892f0250418edea0e55 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Fri, 11 Jan 2019 09:54:42 +0100 Subject: [PATCH] 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 --- meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_0.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_0.2.bb b/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_0.2.bb index a41583c80..dec1ac1df 100644 --- a/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_0.2.bb +++ b/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_0.2.bb @@ -106,8 +106,9 @@ do_compile () { done rm ${S}/${SOC_DIR}/scfw_tcm.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-hash.bin done }