[Buildroot] preserve toolchain

Grant Edwards grant.b.edwards at gmail.com
Tue Sep 14 18:45:19 UTC 2010


On 2010-09-14, Marcus Osdoba <marcus.osdoba at googlemail.com> wrote:

> For a shorter development cycle I like to preserve the toolchain 
> generated by buildroot for the next run.

I used to try to do that, and had many problems with it.  As a result,
I switched to using crosstool-ng to build the toolchain.

> I naivly copied the output/toolchain to some other directory and set
> the toolchain directory in the buildroot config. The bin-directory
> does not include the gcc-binaries. Do I have to create links in the
> bin-directory to the gccs?
>
> Is it possible to take the same toolchain for package build the next 
> time?

I managed to do it, but it required a number of customizations to the
external toolchain makefile, and there were still some minor issues
that required work-arounds in a shell-script that I was using to do
builds.  I eventually gave up and heeded the advice of the
maintainers: now I use crosstool-ng to build my external toolchain.

> Can I recycle the toolchain generated by buildroot?

Using crosstool-ng to build an external toolchain is the normal way of
accomplishing what you want to accomplish.

-- 
Grant Edwards               grant.b.edwards        Yow! Make me look like
                                  at               LINDA RONSTADT again!!
                              gmail.com            



More information about the buildroot mailing list