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

Ian Campbell ijc at hellion.org.uk
Fri Jul 17 11:05:20 CEST 2015


On Fri, 2015-07-17 at 17:28 +0900, Masahiro Yamada wrote:
> Because the top-level Makefile forces all the source files
> to include include/linux/kconfig (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>

Assuming you have build tested for sunxi then for the sunxi bits:

Acked-by: Ian Campbell <ijc at hellion.org.uk>





More information about the U-Boot mailing list