Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Trent Piepho <tpiepho@impinj.com>
To: buildroot@busybox.net
Subject: [Buildroot] [master,1/2] uboot: use local fdt headers
Date: Thu, 1 Mar 2018 21:09:07 +0000	[thread overview]
Message-ID: <1519938547.25567.273.camel@impinj.com> (raw)
In-Reply-To: <87371kjl6s.fsf@dell.be.48ers.dk>

On Thu, 2018-03-01 at 08:42 +0100, Peter Korsgaard wrote:
> > > > > > 
>  > It see the include dir order should be:
>  > u-boot
>  > buildroot host
>  > host os
> 
>  > But this patch gives:
>  > u-boot
>  > host os
>  > buildroot host
> 
> So what do we do? Would it work to use -isystem instead of -idirafter?
> As I read it, this would put it after the -I lines but before the built
> in system directories. Can you give that a try?

This appears to work for me.  I see that uboot is pulling the buildroot
host openssl and not the system openssl.  I also tried installing
libfdt-devel, and uboot is not using those headers.  It's getting some
from uboot and some from the buildroot host includes.  I don't know
what example is supposed to happen or not happen with libfdt, so I'm
not sure how well I have tested against that issue.

> What other alternatives do we have? Reverting this change would fix it
> for people using mainline u-boot with a config needing openssl, but
> would break it for Thomas' use cases.

I think the concept of building multiple libfdts (buildroot's dtc
package's, uboot's, host-uboot-tools', etc.) and trying to get some
code to use one while other code uses another by rejiggering include
paths is doomed.

  reply	other threads:[~2018-03-01 21:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-19 15:56 [Buildroot] [PATCH master 0/2] uboot: better fix for host-dtc influence Thomas De Schampheleire
2018-02-19 15:56 ` [Buildroot] [PATCH master 1/2] uboot: use local fdt headers Thomas De Schampheleire
2018-03-01  1:48   ` [Buildroot] [master,1/2] " Trent Piepho
2018-03-01  7:42     ` Peter Korsgaard
2018-03-01 21:09       ` Trent Piepho [this message]
2018-02-19 15:56 ` [Buildroot] [PATCH master 2/2] Revert "uboot: use local libfdt.h" Thomas De Schampheleire
2018-02-25 21:41 ` [Buildroot] [PATCH master 0/2] uboot: better fix for host-dtc influence Thomas Petazzoni

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=1519938547.25567.273.camel@impinj.com \
    --to=tpiepho@impinj.com \
    --cc=buildroot@busybox.net \
    /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