mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: "Barbier, Renaud" <renaud.barbier@abaco.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: bareboxenv-target
Date: Fri, 6 Nov 2020 13:31:06 +0100	[thread overview]
Message-ID: <20201106123106.klviy4oreez7zvwz@pengutronix.de> (raw)
In-Reply-To: <MN2PR16MB31357702729D2810D0A7926D91ED0@MN2PR16MB3135.namprd16.prod.outlook.com>

On Fri, Nov 06, 2020 at 12:06:08PM +0000, Barbier, Renaud wrote:
> > >
> > >
> > > It looks like sysroot is missing as when I add to scripts/Makefile:
> > > ifdef SDKTARGETSYSROOT
> > >     userccflags += --sysroot=$(SDKTARGETSYSROOT)
> > > endif
> > >
> > > It builds.
> > >
> > > Not much came out from search on google but one thread that refers to
> > this problem when building with Yocto.
> 
> In barebox.inc of the Yocto recipe, I replaced
> export TARGETCFLAGS="${TARGET_LDFLAGS}${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
> with
> export userccflags="${TARGET_LDFLAGS}${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
> 
> It builds.
> 
> Would that  be the way to pass sysroot to scripts/Makefile?

I think someone more knowledgeable about Yocto/OE needs to answer this,
I don't know if anyone is here…

 - Roland

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2020-11-06 12:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28 11:09 bareboxenv-target Barbier, Renaud
2020-11-02 13:13 ` bareboxenv-target Roland Hieber
2020-11-04 10:05   ` bareboxenv-target Barbier, Renaud
2020-11-06  9:55   ` bareboxenv-target Barbier, Renaud
2020-11-06 12:25     ` bareboxenv-target Roland Hieber
2020-11-06 13:12       ` bareboxenv-target Barbier, Renaud
2020-11-06 12:06   ` bareboxenv-target Barbier, Renaud
2020-11-06 12:31     ` Roland Hieber [this message]
2021-03-23 12:33 ` bareboxenv-target Ahmad Fatoum
2021-03-23 14:44   ` bareboxenv-target Barbier, Renaud
2021-03-23 15:47     ` bareboxenv-target Ahmad Fatoum
2021-05-31 17:10       ` bareboxenv-target Ahmad Fatoum
  -- strict thread matches above, loose matches on Subject: below --
2014-11-14 18:44 bareboxenv-target Balasa, Bogdan
2014-11-15 17:54 ` bareboxenv-target Sascha Hauer

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=20201106123106.klviy4oreez7zvwz@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=renaud.barbier@abaco.com \
    --subject='Re: bareboxenv-target' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox