Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Searching for the right "make clean"
@ 2009-01-14 16:42 Dan Lyke
  2009-01-15 22:27 ` Ulf Samuelsson
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Lyke @ 2009-01-14 16:42 UTC (permalink / raw)
  To: buildroot

Silly question:

I'm using buildroot for an AT91SAM9261, and was getting some floating
point behavior I didn't understand, so rather than be all smart about
it I decided to force software floating point and rebuild my toolchain.

Simply checking that box under "Toolchain" in the "make menuconfig",
followed by "make clean; make" failed with errors that things were
compiled with hardware floating point, so I grepped the Makefile for
"clean", tried "make dirclean", that failed, and then did a "make
distclean" which blew away more than I wanted to.

What's the right "clean" for me to have typed?

Thanks.

Dan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Searching for the right "make clean"
  2009-01-14 16:42 [Buildroot] Searching for the right "make clean" Dan Lyke
@ 2009-01-15 22:27 ` Ulf Samuelsson
  2009-01-16  9:42   ` Sven Neumann
  0 siblings, 1 reply; 3+ messages in thread
From: Ulf Samuelsson @ 2009-01-15 22:27 UTC (permalink / raw)
  To: buildroot

ons 2009-01-14 klockan 08:42 -0800 skrev Dan Lyke:
> Silly question:
> 
> I'm using buildroot for an AT91SAM9261, and was getting some floating
> point behavior I didn't understand, so rather than be all smart about
> it I decided to force software floating point and rebuild my toolchain.
> 
> Simply checking that box under "Toolchain" in the "make menuconfig",
> followed by "make clean; make" failed with errors that things were
> compiled with hardware floating point, so I grepped the Makefile for
> "clean", tried "make dirclean", that failed, and then did a "make
> distclean" which blew away more than I wanted to.
> 
> What's the right "clean" for me to have typed?


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

BR
Ulf Samuelsson

> 
> Thanks.
> 
> Dan
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Searching for the right "make clean"
  2009-01-15 22:27 ` Ulf Samuelsson
@ 2009-01-16  9:42   ` Sven Neumann
  0 siblings, 0 replies; 3+ messages in thread
From: Sven Neumann @ 2009-01-16  9:42 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-16  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14 16:42 [Buildroot] Searching for the right "make clean" Dan Lyke
2009-01-15 22:27 ` Ulf Samuelsson
2009-01-16  9:42   ` Sven Neumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox