diff --git a/spl/Makefile b/spl/Makefile index 92267d6deaacf1d3c2fef84b6e1f777d684b5603..58ef40ac0140c0668317d1eeaa3f11b4d0978c0d 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -123,6 +123,12 @@ $(OBJTREE)/MLO: $(obj)u-boot-spl.bin -a $(CONFIG_SPL_TEXT_BASE) -d $< $@ endif +ifneq ($(CONFIG_IMX_CONFIG),) +$(OBJTREE)/SPL: $(obj)u-boot-spl.bin + $(OBJTREE)/tools/mkimage -n $(SRCTREE)/$(CONFIG_IMX_CONFIG) -T imximage \ + -e $(CONFIG_SPL_TEXT_BASE) -d $< $@ +endif + ALL-y += $(obj)u-boot-spl.bin ifdef CONFIG_SAMSUNG