[U-Boot] [PATCH 04/19] powerpc: ppc4xx: Move CANYONLANDS/GLACIER/ARCHES to Kconfig

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Jan 6 08:29:35 CET 2015


Hi Simon,


On Mon, 15 Dec 2014 07:19:39 -0700
Simon Glass <sjg at chromium.org> wrote:

> diff --git a/include/configs/canyonlands.h b/include/configs/canyonlands.h
> index 7b1f368..ed790cc 100644
> --- a/include/configs/canyonlands.h
> +++ b/include/configs/canyonlands.h
> @@ -11,6 +11,8 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> +#include <linux/kconfig.h>
> +


Please do not explicitely include <linux/kconfig.h> from C sources.
It is automatically included.

See Makefile



UBOOTINCLUDE    := \
                -Iinclude \
                $(if $(KBUILD_SRC), -I$(srctree)/include) \
                -I$(srctree)/arch/$(ARCH)/include \
                -include $(srctree)/include/linux/kconfig.h


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list