Searching for the right "make clean"
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
ons 2009-01-14 klockan 08:42 -0800 skrev Dan Lyke:
Quoted 6 lines
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.
Quoted 7 lines
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
Makefilefor "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
Quoted 8 lines
Thanks.
Dan
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Hi,
Quoted 7 lines · Ulf Samuelsson
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.
Quoted 5 lines
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