diff --git a/images/Makefile b/images/Makefile index fe1f77d..925a987 100644 --- a/images/Makefile +++ b/images/Makefile @@ -106,6 +106,8 @@ $(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)) diff --git a/images/Makefile.imx b/images/Makefile.imx new file mode 100644 index 0000000..cd7b610 --- /dev/null +++ b/images/Makefile.imx @@ -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