All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] RFC: make export-sysroot
Date: Sun, 27 Oct 2013 17:40:45 +0100	[thread overview]
Message-ID: <20131027174045.5f9115c2@skate> (raw)
In-Reply-To: <OF3447DAE1.89CC3270-ON86257C0E.004C5FFB@rockwellcollins.com>

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

      reply	other threads:[~2013-10-27 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-24 13:54 [Buildroot] RFC: make export-sysroot mlweber1 at rockwellcollins.com
2013-10-27 16:40 ` Thomas Petazzoni [this message]

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=20131027174045.5f9115c2@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.