From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] how to clean up everything but the toolchain
Date: Thu, 1 Oct 2009 10:44:24 +0200 [thread overview]
Message-ID: <20091001104424.4955b8a2@surf> (raw)
In-Reply-To: <1254384273.5284.5.camel@sven>
Le Thu, 01 Oct 2009 10:04:33 +0200,
Sven Neumann <s.neumann@raumfeld.com> a ?crit :
> we are using buildroot to build a number of projects for the same
> platform. Currently we do this simply by changing the .config file. In
> order for the build to work after changing the .config file, we remove
> the project_build_arm, build_arm and toolchain_build_arm directories.
> So basically we are doing a full rebuild, including the toolchain. We
> could save a lot of CPU cycles if we could reuse the toolchain build.
> However I found that if I remove the build_arm directory, but not the
> toolchain_build_arm directory, things will break. So I wonder if there
> is an easy solution to this. Perhaps a make target that we didn't
> discover yet?
This is something we should definitely support, but I'm not sure yet
how to achieve that. At least of the mandatory component is to be able
to cleanly remove packages from the staging/ and target/ directories.
And this requires a global infrastructure used by all packages (like
Makefile.autotools.in, but more generic). I've started working on this,
but it will take some time (fairly complex + limited free time).
However, what I'm doing currently is that I use external toolchains
(that's the reason for which I improved a little the external toolchain
support in Buildroot). Toolchain is generated once for all with
Crosstool-ng, and then Buildroot is only used to build the root
filesystem.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2009-10-01 8:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 8:04 [Buildroot] how to clean up everything but the toolchain Sven Neumann
2009-10-01 8:44 ` Thomas Petazzoni [this message]
2009-10-01 11:22 ` Will Newton
2009-10-01 11:28 ` Sven Neumann
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=20091001104424.4955b8a2@surf \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox