From f6639026d8705d35033b32af6644cbf317849e3b Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Thu, 9 Aug 2018 17:27:03 +0200 Subject: [PATCH] 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 --- meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_0.2.bb | 2 ++ 1 file changed, 2 insertions(+) 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 c4856b387..e90ae6ba2 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 @@ -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 }