summaryrefslogtreecommitdiffstats
path: root/images/Makefile.imx
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-02-01 15:21:34 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-04 14:38:29 +0100
commit796694c0b203507f976dbafb214818ee1a702c6c (patch)
tree5a2304bbb747699df7b25c6e81b85d647a6e3a77 /images/Makefile.imx
parent71e399f6f29944bac8786184c23a0635b4d5ab24 (diff)
downloadbarebox-796694c0b203507f976dbafb214818ee1a702c6c.tar.gz
barebox-796694c0b203507f976dbafb214818ee1a702c6c.tar.xz
Make: i.MX: Allow to pass config file to cmd_imx_image
Pass the config file to cmd_imx_image as arguments to make it more flexible. Also add the possibility for another arg containing additional options. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images/Makefile.imx')
-rw-r--r--images/Makefile.imx4
1 files changed, 2 insertions, 2 deletions
diff --git a/images/Makefile.imx b/images/Makefile.imx
index ea9346abaa..e581dbe103 100644
--- a/images/Makefile.imx
+++ b/images/Makefile.imx
@@ -8,10 +8,10 @@
ifdef CONFIG_ARCH_IMX_XLOAD
$(obj)/%.imximg: $(obj)/% FORCE
$(call cmd,check_file_size,$<,$(CONFIG_ARCH_IMX_UNUSED_IRAM_SIZE))
- $(call if_changed,imx_image)
+ $(call if_changed,imx_image,$(CFG_$(@F)),)
else
$(obj)/%.imximg: $(obj)/% FORCE
- $(call if_changed,imx_image)
+ $(call if_changed,imx_image,$(CFG_$(@F)),)
endif
quiet_cmd_imx_sram_img ?= IMX-SRAM-IMG $@