[U-Boot] [PATCH] libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

christophe leroy christophe.leroy at c-s.fr
Sun Mar 4 16:47:17 UTC 2018



Le 04/03/2018 à 17:20, Masahiro Yamada a écrit :
> Thomas reported U-Boot failed to build host tools if libfdt-devel
> package is installed because tools include libfdt headers from
> /usr/include/ instead of using internal ones.
> 
> This commit moves the header code:
>    include/libfdt.h         -> include/linux/libfdt.h
>    include/libfdt_env.h     -> include/linux/libfdt_env.h
> 
> and replaces include directives:
>    #include <libfdt.h>      -> #include <linux/libfdt.h>
>    #include <libfdt_env.h>  -> #include <linux/libfdt_env.h>
> 
> Reported-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
> 
>   arch/powerpc/cpu/mpc8xx/cpu.c                     |   2 +-
>   arch/powerpc/cpu/mpc8xx/fdt.c                     |   2 +-

For the 2 above files:

Acked-by: Christophe Leroy <christophe.leroy at c-s.fr>

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus



More information about the U-Boot mailing list