[Buildroot] How-to export cross-toolchain and libraries to a build server?

Fabrice Mousset | GEOCEPT GmbH fabrice.mousset at geocept.com
Tue Nov 11 12:10:22 UTC 2014


Hi Thomas,

it works :-)

I have built my BSP with BR2_HOST_DIR (make BR2_HOST_DIR=/opt/crosstools/am335x) and made an archive of it (tar cJf am335x-sdk.tar.xz /opt/crosstools/am335x). Then expand this archive on the build server.
And it simply works, Jenkins is now able to build Qt5 projects for my board.
The SDK is quiet big (about 57MB), but it is a simple and quick solution.
I will try to spend time on "relocatable SDK generation" in the next weeks to see if an easier/smarter solution is possible.

Thanks a lot for your support

Best regards

Fabrice

-----Ursprüngliche Nachricht-----
Von: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com] 
Gesendet: Dienstag, 11. November 2014 10:50
An: Fabrice Mousset | GEOCEPT GmbH
Cc: 'buildroot at busybox.net'
Betreff: Re: [Buildroot] How-to export cross-toolchain and libraries to a build server?

Dear Fabrice Mousset | GEOCEPT GmbH,

On Tue, 11 Nov 2014 09:43:02 +0000, Fabrice Mousset | GEOCEPT GmbH
wrote:

> thanks a lot for your quick reply.
> I will follow your advice and use BR2_HOST_DIR to fixe SDK location.
> So I will have a quick solution to move the SDK to our build server.

Ok. Let us know if that works.

> I will also take a closer look at the TODO list, and perhaps I could contribute to buildroot to help integrating a relocatable SDK generation, which will be a very nice and useful feature.
> But I think, I will have to learn a lot of thinks about the internals of buildroot before.

Sure, your contributions would be very welcome! But indeed, working on making the SDK relocatable is clearly not the easiest thing to get started with the Buildroot internals.

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering http://free-electrons.com



More information about the buildroot mailing list