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

Tom Rini trini at konsulko.com
Mon Mar 5 18:53:57 UTC 2018


On Mon, Mar 05, 2018 at 01:20:11AM +0900, Masahiro Yamada wrote:

> 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>

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/20180305/bf669bad/attachment.sig>


More information about the U-Boot mailing list