diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-08-06 12:33:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-08-06 12:33:06 +0200 |
commit | a8525f691dd74f9aa50ecd359408486217e956ba (patch) | |
tree | 13f7fe523b5280803e9eaa5a87cc5e8da425946f /images | |
parent | 3c92473a9e24a55c9e253027178492a788ea7611 (diff) | |
parent | 60427aac464696ebf2125e4eef22f54d960d9bc0 (diff) | |
download | barebox-a8525f691dd74f9aa50ecd359408486217e956ba.tar.gz barebox-a8525f691dd74f9aa50ecd359408486217e956ba.tar.xz |
Merge branch 'for-next/imx'
Diffstat (limited to 'images')
-rw-r--r-- | images/Makefile.imx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/images/Makefile.imx b/images/Makefile.imx index 6b44958157..78895f95fa 100644 --- a/images/Makefile.imx +++ b/images/Makefile.imx @@ -14,6 +14,17 @@ $(obj)/%.imximg: $(obj)/% FORCE $(call if_changed,imx_image) endif +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) >> $@; \ + $(CPP) $(imxcfg_cpp_flags) -o $(imximg-tmp) $(CFG_$(@F)) ; \ + $(objtree)/scripts/imx/imx-image -o $@ -b -c $(imximg-tmp) -f $@; \ + cat $(obj)/barebox.z >> $@; \ + $(objtree)/scripts/fix_size -f $@ + +$(obj)/%.imx-sram-img: $(obj)/%.pblb $(obj)/barebox.z FORCE + $(call if_changed,imx_sram_img,$(@F)) + # ----------------------- i.MX25 based boards --------------------------- pblx-$(CONFIG_MACH_TX25) += start_imx25_karo_tx25 FILE_barebox-karo-tx25.img = start_imx25_karo_tx25.pblx @@ -216,6 +227,16 @@ CFG_start_imx6_udoo.pblx.imximg = $(board)/udoo/flash-header-mx6-udoo.imxcfg FILE_barebox-udoo-imx6q.img = start_imx6_udoo.pblx.imximg image-$(CONFIG_MACH_UDOO) += barebox-udoo-imx6q.img +pblx-$(CONFIG_MACH_CM_FX6) += start_imx6_cm_fx6 +CFG_start_imx6_cm_fx6.imx-sram-img = $(board)/cm-fx6/flash-header-mx6-cm-fx6.imxcfg +FILE_barebox-cm-fx6.img = start_imx6_cm_fx6.imx-sram-img +image-$(CONFIG_MACH_CM_FX6) += barebox-cm-fx6.img + +pblx-$(CONFIG_MACH_CM_FX6) += start_imx6_utilite +CFG_start_imx6_utilite.imx-sram-img = $(board)/cm-fx6/flash-header-mx6-cm-fx6.imxcfg +FILE_barebox-utilite.img = start_imx6_utilite.imx-sram-img +image-$(CONFIG_MACH_CM_FX6) += barebox-utilite.img + pblx-$(CONFIG_MACH_VARISCITE_MX6) += start_variscite_custom CFG_start_variscite_custom.pblx.imximg = $(board)/variscite-mx6/flash-header-variscite.imxcfg FILE_barebox-variscite-custom.img = start_variscite_custom.pblx.imximg |