[Buildroot] how to clean up everything but the toolchain

Will Newton will.newton at gmail.com
Thu Oct 1 11:22:40 UTC 2009


On Thu, Oct 1, 2009 at 9:04 AM, Sven Neumann <s.neumann at raumfeld.com> wrote:
> Hi,
>
> 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?

I have found it sufficient to remove build_arm and project_build_arm.
Some stuff in the toolchain still gets rebuilt but not as much as a
full rebuild.



More information about the buildroot mailing list