
21 Nov
2011
21 Nov
'11
8:11 p.m.
On Monday 21 November 2011 13:56:16 Andy Fleming wrote:
${MAKE} clean
find "${output_dir}" -type f -name '*.depend' | xargs rm
why not use distclean and avoid the `find` ? otherwise, this find should be: find "${output_dir}" -type f -name '*.depend' -exec rm -f {} +
distclean removes the u-boot executables. I thought it would be useful to keep them around so one could theoretically test all of the systems one built. I run make clean (which doesn't delete the results) and delete the .depend files because otherwise one can very quickly fill up a disk with ./MAKEALL powerpc
perhaps add a new clean target that does this ("mostlyclean") ? what you want sounds generally useful to me ... -mike