* [Buildroot] How to rebuild root filesystem?
@ 2013-07-08 4:56 Woody Wu
2013-07-08 8:27 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Woody Wu @ 2013-07-08 4:56 UTC (permalink / raw)
To: buildroot
Hi,
Since things in my output/target got messed, hence I want to rebuild
everything in that directory and recreate the root filesystem image. How
can I ask buildroot to do it?
I knew that 'make clean' and 'make' will do it. But, my external
toolchain also get rebuilt, that can take very long time.
Thanks in advance.
--
I can't go back to yesterday - because I was a different person then
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] How to rebuild root filesystem?
2013-07-08 4:56 [Buildroot] How to rebuild root filesystem? Woody Wu
@ 2013-07-08 8:27 ` Thomas Petazzoni
2013-07-08 14:12 ` Woody Wu
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2013-07-08 8:27 UTC (permalink / raw)
To: buildroot
Dear Woody Wu,
On Mon, 8 Jul 2013 12:56:58 +0800, Woody Wu wrote:
> Since things in my output/target got messed, hence I want to rebuild
> everything in that directory and recreate the root filesystem image. How
> can I ask buildroot to do it?
>
> I knew that 'make clean' and 'make' will do it. But, my external
> toolchain also get rebuilt, that can take very long time.
No, if you're using an external toolchain, it does *not* gets rebuilt
every time you do make clean && make. It's the whole point of using an
external toolchain.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] How to rebuild root filesystem?
2013-07-08 8:27 ` Thomas Petazzoni
@ 2013-07-08 14:12 ` Woody Wu
2013-07-08 15:03 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Woody Wu @ 2013-07-08 14:12 UTC (permalink / raw)
To: buildroot
On Mon, Jul 08, 2013 at 10:27:32AM +0200, Thomas Petazzoni wrote:
> Dear Woody Wu,
>
> On Mon, 8 Jul 2013 12:56:58 +0800, Woody Wu wrote:
>
> > Since things in my output/target got messed, hence I want to rebuild
> > everything in that directory and recreate the root filesystem image. How
> > can I ask buildroot to do it?
> >
> > I knew that 'make clean' and 'make' will do it. But, my external
> > toolchain also get rebuilt, that can take very long time.
>
> No, if you're using an external toolchain, it does *not* gets rebuilt
> every time you do make clean && make. It's the whole point of using an
> external toolchain.
>
okay, may be it tooks too long time to make me think it was building the
toolchain, maybe it was just building the kernel. Whatever.
When I said external toolchain, I actually's talking about Code Sourery
which can be selected from buildroot toolchain configuration menu. Maybe
she's now so external.
Anyway, for my real question, is there a solution? How to reuild the
root filesystem from scratch. Thanks!
-
woody
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] How to rebuild root filesystem?
2013-07-08 14:12 ` Woody Wu
@ 2013-07-08 15:03 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2013-07-08 15:03 UTC (permalink / raw)
To: buildroot
Dear Woody Wu,
On Mon, 8 Jul 2013 22:12:10 +0800, Woody Wu wrote:
> okay, may be it tooks too long time to make me think it was building the
> toolchain, maybe it was just building the kernel. Whatever.
>
> When I said external toolchain, I actually's talking about Code Sourery
> which can be selected from buildroot toolchain configuration menu. Maybe
> she's now so external.
If you're using the Sourcery CodeBench toolchain (formerly known as
CodeSourcery toolchains), then you are using an external toolchain, and
the toolchain never gets rebuilt.
> Anyway, for my real question, is there a solution? How to reuild the
> root filesystem from scratch. Thanks!
The only safe solution is "make clean && make". Any other solution
risks of giving you an inconsistent filesystem in terms of library
dependencies.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-08 15:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 4:56 [Buildroot] How to rebuild root filesystem? Woody Wu
2013-07-08 8:27 ` Thomas Petazzoni
2013-07-08 14:12 ` Woody Wu
2013-07-08 15:03 ` Thomas Petazzoni
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.