From: "Jérôme Pouiller" <jezz@sysmic.org>
To: buildroot@busybox.net
Subject: [Buildroot] Using buildroot generated toolchain as external toolchain issues
Date: Wed, 29 Jul 2015 08:22:04 +0200 [thread overview]
Message-ID: <1526636.mbSdBIvjiD@sagittea> (raw)
In-Reply-To: <64CA5C49A43E314D9F7DAE05370E2F7B06771147@hed-dc01.hed.local>
Hello Matthew,
On Tuesday 28 July 2015 17:44:18 Matthew Starr wrote:
> I have several buildroot instances I use for different hardware. To
> speed up
> compile time I am trying to take a compiled buildroot toolchain and
> reuse it
> as an external toolchain for all my instances of buildroot. I did this
> by not
> selecting any packages, kernel, or u-boot and not to generate a rootfs.
> When building the toolchain I selected ARM and EABIhf for Cortex A8.
Until here, everything seems correct
> I then take the contents of the output/host/usr directory and put it in
> a tar
> file that is then used as the external toolchain in the other buildroot
> instances.
Your problem come from this step. Buildroot toolchains are not "relocatable".
It means they don't work if move them away from their original location
(Samuel Martin sent a patch to fix this behavior).
Therefore, once you compiled your toolchain, use "Pre-installed toolchain"
option in order to use it.
Note: while you compile you toolchain, you can change BR2_HOST_DIR in order to
build it directly in directory of you choice (/opt/arm-buildroot-linux-
gnueabihf for example).
BR,
--
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr
next prev parent reply other threads:[~2015-07-29 6:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 22:44 [Buildroot] Using buildroot generated toolchain as external toolchain issues Matthew Starr
2015-07-29 6:22 ` Jérôme Pouiller [this message]
2015-07-29 7:00 ` Thomas Petazzoni
2015-07-29 13:22 ` Matthew Starr
2015-07-29 13:30 ` Thomas Petazzoni
2015-07-29 21:54 ` Matthew Starr
2015-07-29 22:23 ` 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=1526636.mbSdBIvjiD@sagittea \
--to=jezz@sysmic.org \
--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