[U-Boot] [U-Boot,v2] Kill unneeded #include <linux/kconfig.h>

Tom Rini trini at konsulko.com
Tue Jul 28 16:59:43 CEST 2015


On Fri, Jul 17, 2015 at 08:30:28PM +0900, Masahiro Yamada wrote:

> Because the top-level Makefile forces all the source files
> to include include/linux/kconfig.h (see the UBOOTINCLUDE define),
> these includes are redundant.
> 
> By the way, there are exceptions for the statement above; host
> programs.  In fact, host tools in U-Boot depend on a particular
> board configuration, although I think they should not.  So, some
> files still include <linux/config.h> to work around build errors
> on host tools.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> Acked-by: Ian Campbell <ijc at hellion.org.uk>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

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


More information about the U-Boot mailing list