public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Tools build failure when libfdt-devel is installed
Date: Sun, 4 Mar 2018 10:26:27 +0100	[thread overview]
Message-ID: <20180304102627.0c02fea8@windsurf.home> (raw)
In-Reply-To: <CAK7LNAQ_OAOUQpniYzRSZYtTGXnD9LtW2CxQqOu3qCMRmUcfDQ@mail.gmail.com>

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

      reply	other threads:[~2018-03-04  9:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-02 21:19 [U-Boot] Tools build failure when libfdt-devel is installed Thomas Petazzoni
2018-03-04  6:32 ` Masahiro Yamada
2018-03-04  9:26   ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180304102627.0c02fea8@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox