[U-Boot] [U-Boot, 2/3] build: Drop CONFIG_SPL_BUILD guards in some cases

Tom Rini trini at konsulko.com
Wed Jan 10 16:44:14 UTC 2018


On Thu, Dec 21, 2017 at 10:13:22PM -0500, Tom Rini wrote:

> Given gcc-6.1 and later we can now safely have strings discarded when
> the functions are unused.  This lets us drop certain cases of not
> building something so that we don't have the strings brought in when the
> code was discarded.  Simplify the code now by dropping guards we don't
> need now.
> 
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Cc: Chander Kashyap <k.chander at samsung.com>
> Cc: Thomas Abraham <thomas.ab at samsung.com>
> Cc: Vipin Kumar <vipin.kumar at st.com>
> Cc: Wenyou Yang <wenyou.yang at microchip.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180110/2e3f0f7e/attachment.sig>


More information about the U-Boot mailing list