[U-Boot] Tools build failure when libfdt-devel is installed

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Mar 4 09:26:27 UTC 2018


Hello,

Thanks for your feedback!

On Sun, 4 Mar 2018 15:32:20 +0900, Masahiro Yamada wrote:

> I think U-Boot (both U-Boot binary and host-tools)
> should use
> 
>   #include <linux/libfdt.h>
> 
>   #include <linux/libfdt_env.h>
> 
> 
> instead of
> 
>   #include <libfdt.h>
> 
>   #include <libfdt_env.h>

Perhaps, I'm not sure what the best solution is though.

> I was working on this way, and U-Boot already has
> <linux/libfdt.h> and <linux/libfdt_env.h> like Linux does.
> 
> If we agree, I can move forward it.

If you have a preliminary patch, I'd be happy to test it.

> Also, further refactoring is needed.
> The include paths of tools are so cryptic.

Oh yes it is cryptic!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com


More information about the U-Boot mailing list