ARM: i.MX: Add multi images support Makefile
This adds images/Makefile.imx which will contain the i.MX specific image generation snippets. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
2078438662
commit
bade1dbf46
|
@ -106,6 +106,8 @@ $(obj)/%.img: $(obj)/$$(FILE_$$(@F))
|
|||
$(Q)if [ -z $(FILE_$(@F)) ]; then echo "FILE_$(@F) empty!"; false; fi
|
||||
$(call if_changed,shipped)
|
||||
|
||||
include $(srctree)/images/Makefile.imx
|
||||
|
||||
targets += $(image-y) pbl.lds barebox.x barebox.z
|
||||
targets += $(patsubst %,%.pblx,$(pblx-y))
|
||||
targets += $(patsubst %,%.pblb,$(pblx-y))
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#
|
||||
# barebox image generation Makefile for i.MX images
|
||||
#
|
||||
|
||||
# %.imximg - convert into i.MX image
|
||||
# ----------------------------------------------------------------
|
||||
$(obj)/%.imximg: $(obj)/% FORCE
|
||||
$(call if_changed,imx_image)
|
||||
|
||||
board = $(srctree)/arch/$(ARCH)/boards
|
Loading…
Reference in New Issue