[RFC PATCH 5/5] images: imx: Add targets for signed encrypted images

Marcin Niestroj m.niestroj at grinn-global.com
Wed Jun 6 09:08:09 PDT 2018


Add .esimximg target for signed and encrypted images.

Signed-off-by: Marcin Niestroj <m.niestroj at grinn-global.com>
---
 images/Makefile.imx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/images/Makefile.imx b/images/Makefile.imx
index 5fcfbbefb..c1a601ea9 100644
--- a/images/Makefile.imx
+++ b/images/Makefile.imx
@@ -20,6 +20,9 @@ $(obj)/%.simximg: $(obj)/% FORCE
 $(obj)/%.usimximg: $(obj)/% FORCE
 	$(call if_changed,imx_image,$(CFG_$(patsubst %.usimximg,%.imximg,$(@F))),-s -u)
 
+$(obj)/%.esimximg: $(obj)/% FORCE
+	$(call if_changed,imx_image,$(CFG_$(patsubst %.esimximg,%.imximg,$(@F))),-s -e)
+
 quiet_cmd_imx_sram_img ?= IMX-SRAM-IMG    $@
       cmd_imx_sram_img ?= cat $(obj)/$(patsubst %.imx-sram-img,%.pblb,$(2)) > $@; \
 		  $(call size_append, $(obj)/barebox.z) >> $@; \
-- 
2.17.0




More information about the barebox mailing list