[Buildroot] Searching for the right "make clean"

Sven Neumann s.neumann at phase-zero.de
Fri Jan 16 09:42:07 UTC 2009


Hi,

On Thu, 2009-01-15 at 23:27 +0100, Ulf Samuelsson wrote:

> Once you change a toolchain option, you should probably 
> remove everything and start afresh.
> 
> THere is nothing you need to save except the configs
> which you can do with make saveconfig.
> 
> 
> I.E: rm:
> 	binaries
> 	build_ARCH
> 	toolchain_build_ARCH
> 	project_build_ARCH

It would help a lot if there was a dedicated make target for this.

We have has this problem several times now. Whenever we change a
configuration in the toolchain or in uclibc, everything needs to be
rebuilt. Unfortunately the Makefile does not automatically care about
this dependency. So one has make sure that the tree is clean before
running the build again. If there was a target that would take care of
this, that would help a lot.


Sven





More information about the buildroot mailing list