
On Sat, Dec 18, 2010, Loïc Minier wrote:
Don't make it that complicated. Just change the line into @rm -fr$(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
I think I had this in my first version, but had an issue with it; I will retest
This works just fine and is much simpler; thanks. I will send an updated patch to use this
Also a question: how has this change been tested?
I'm attaching a test script which, starting from a clean tree, will try to distclean, to configure + distclean, and finally to configure + build + distclean. It tries both with and without an objdir in all make calls, and checks whether the tree is really clean with: git clean -d -x -n.
This script uncovered another issue with .boards.depend which was not cleaned up by distclean O=foo because it's created in the srctree.
I will send a separate patch for this issue as well.