[U-Boot] [PATCH 1/2] Build u-boot.imx by default when board uses it

Loïc Minier loic.minier at linaro.org
Fri Nov 11 14:31:40 CET 2011


On Fri, Nov 11, 2011, Aneesh V wrote:
> arch/arm/cpu/armv7/omap4/config.mk has this:
> 
> ifdef CONFIG_SPL_BUILD
> ALL-y	+= $(OBJTREE)/MLO
> else
> ALL-y	+= $(obj)u-boot.img
> endif
> 
> However, this may have to be duplicated in many such config.mk files.

 Ah I had seen this snippet and wondered why you hadn't put it in
 spl/Makefile, but now I realize that only the MLO part could go there,
 and that you don't want to built u-boot.img when building a spl.

 I don't really mind whether we set these things in some specific .mk
 files or in Makefile + spl/Makefile; I care that it's consistent and
 that related things are kept together as to update them together.  I
 guess we can follow the OMAP approach for other boards.

-- 
Loïc Minier


More information about the U-Boot mailing list