[U-Boot] [PATCH v2 07/44] Use separate options for TPL support

Tom Rini trini at konsulko.com
Tue Sep 6 20:06:21 CEST 2016


On Mon, Aug 29, 2016 at 06:21:15PM -0600, Simon Glass wrote:

> At present TPL uses the same options as SPL support. In a few cases the board
> config enables or disables the SPL options depending on whether
> CONFIG_TPL_BUILD is defined.
> 
> With the move to Kconfig, options are determined for the whole build and
> (without a hack like an #undef in a header file) cannot be controlled in this
> way.
> 
> Create new TPL options for these and update users. This will allow Kconfig
> conversion to proceed for these boards.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

For the record, I think this shows that we need to think about how we
setup and build SPL/TPL/... but I also think we can't fix it until we've
unwound what we have now so it's clear what is and isn't used, what is
and isn't a pain about it and how at the end of the day users also need
to build something, something that works and ideally not spend more time
doing all of that than it takes to actually just build what they want.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160906/70a11191/attachment.sig>


More information about the U-Boot mailing list