[Buildroot] [PATCH] u-boot: u-boot SPL is usually under ./spl/

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Mar 4 08:11:19 UTC 2013


Dear Carlo Caione,

On Sun, 3 Mar 2013 21:53:16 +0100, Carlo Caione wrote:

> > What about setting BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin" ?
> 
> Well, honestly I don't like it (not really clean) but I'll go for it
> if there is no other way :)

Well, in this specific case, I think it's probably the out of tree
uboot-sunxi thing that does not comply with normal U-Boot practices. I
think in U-Boot mainline, the SPL, whatever its name is, is always
finally installed in the main source directory at the end of the build.

If you really want, we can tune the boot/uboot.mk logic so that it
search $(@D) and $(@D)/spl, but I would rather suggest to fix
uboot-sunxi instead :)

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list