Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] RFC: make export-sysroot
@ 2013-10-24 13:54 mlweber1 at rockwellcollins.com
  2013-10-27 16:40 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: mlweber1 at rockwellcollins.com @ 2013-10-24 13:54 UTC (permalink / raw)
  To: buildroot

I'm curious to see if there would be any traction to add a 'make export-sysroot' option that functions like the WindRiver workbench sysroot export.  We've been manually doing something like this where we tar up the output/host folder to distribute to other users.  Since we can't maintain the original output/host location (ran into symlink errors if we moved the host folder after it was built), we also provide the original toolchain archive.  This results in the user needing to use the --sysroot when they build (seems like an ok approach so far).

Thoughts?  Maybe I'm missing an approach to actually make use of the generated host folder toolchain outside of its original buildroot path...  Which would then simplify this to just a archiving of the output/host into a tarball placed in the images folder.

Thanks,
Matt Weber
mlweber1 at rockwellcollins.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] RFC: make export-sysroot
  2013-10-24 13:54 [Buildroot] RFC: make export-sysroot mlweber1 at rockwellcollins.com
@ 2013-10-27 16:40 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-10-27 16:40 UTC (permalink / raw)
  To: buildroot

Hello Matt,

On Thu, 24 Oct 2013 08:54:13 -0500, mlweber1 at rockwellcollins.com wrote:

> I'm curious to see if there would be any traction to add a 'make
> export-sysroot' option that functions like the WindRiver workbench
> sysroot export.  We've been manually doing something like this where
> we tar up the output/host folder to distribute to other users.  Since
> we can't maintain the original output/host location (ran into symlink
> errors if we moved the host folder after it was built), we also
> provide the original toolchain archive.  This results in the user
> needing to use the --sysroot when they build (seems like an ok
> approach so far).
> 
> Thoughts?  Maybe I'm missing an approach to actually make use of the
> generated host folder toolchain outside of its original buildroot
> path...  Which would then simplify this to just a archiving of the
> output/host into a tarball placed in the images folder.

In Buildroot, the contents of output/host are what we call the "SDK",
as it contains all the host tools (including the cross compiler) and
the target libraries and headers for application developers.

It is indeed part of the plans to provide a mechanism to generate a
tarball out of this, but I believe we thought it would be better to
make this SDK relocatable (i.e installable and usable in any location)
before providing a feature to tarball this SDK. We have items in the
TODO list at
http://elinux.org/Buildroot#Core_Buildroot_infrastructure (see "Make the
HOST-directory a relocatable SDK").

Contributions to solve items of this TODO list are welcome.

Best regards,

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-27 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24 13:54 [Buildroot] RFC: make export-sysroot mlweber1 at rockwellcollins.com
2013-10-27 16:40 ` Thomas Petazzoni

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