summaryrefslogtreecommitdiffstats
path: root/images/Makefile.imx
diff options
context:
space:
mode:
Diffstat (limited to 'images/Makefile.imx')
-rw-r--r--images/Makefile.imx8
1 files changed, 8 insertions, 0 deletions
diff --git a/images/Makefile.imx b/images/Makefile.imx
index aefc52af49..156eb64781 100644
--- a/images/Makefile.imx
+++ b/images/Makefile.imx
@@ -20,6 +20,14 @@ $(obj)/%.simximg: $(obj)/% FORCE
$(obj)/%.usimximg: $(obj)/% FORCE
$(call if_changed,imx_image,$(CFG_$(patsubst %.usimximg,%.imximg,$(@F))),-s -u)
+$(obj)/%.esimximg $(obj)/%.esimximg.dek: $(obj)/% FORCE
+ $(call if_changed,imx_image,$(CFG_$(patsubst %.esimximg,%.imximg,$(@F))),-s -e)
+
+.SECONDEXPANSION:
+$(obj)/%.img.dek: $(obj)/$$(FILE_$$(@F))
+ $(Q)if [ -z $(FILE_$(@F)) ]; then echo "FILE_$(@F) empty!"; false; fi
+ $(call if_changed,shipped)
+
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) >> $@; \