[PATCH 3/3] images: i.MX: fill in crc in IMD crc tags

Sascha Hauer s.hauer at pengutronix.de
Mon Dec 7 04:29:52 EST 2020


FIXME: This also generates crcs in the signed images which invalidates
the signature.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 images/Makefile.imx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/Makefile.imx b/images/Makefile.imx
index 514db326bb..808c7a13e8 100644
--- a/images/Makefile.imx
+++ b/images/Makefile.imx
@@ -26,7 +26,7 @@ endef
 .SECONDEXPANSION:
 define imx_image_rule
 $(eval
-$$(obj)/%.$(strip $(1)): $$(obj)/% $$$$(CFG_%.imximg) FORCE
+$$(obj)/%.$(strip $(1)): $$(obj)/%.imdcrc $$$$(CFG_%.imximg) FORCE
 	$$(call if_changed,imx_image,$$(CFG_$$(patsubst %.$(strip $(1)),%.imximg,$$(@F))),$(strip $(2)))
 )
 endef
-- 
2.20.1




More information about the barebox mailing list