On Monday, September 19, 2011 01:11:17 Graeme Russ wrote: > Hi Mike > > On Mon, Sep 19, 2011 at 2:59 PM, Mike Frysinger <vap...@gentoo.org> wrote: > > On Sunday, September 18, 2011 09:08:35 Graeme Russ wrote: > >> On 18/09/11 18:22, Mike Frysinger wrote: > >> > On Sunday, September 18, 2011 03:26:38 Wolfgang Denk wrote: > >> >> Mike Frysinger wrote: > >> >>> The top level Makefile does not do any recursion into subdirs when > >> >>> cleaning, so these clean/distclean targets in random arch/board dirs > >> >>> never get used. Punt them all. > > [snip] > > >> Can we not have make distclean/mrproper traverse ALL arch/SoC/board > >> directories and call their distclean/mrproper? Or have > >> distclean/mrproper read the .mk file for all arch/SoC/board > >> directories? > > > > if it wasn't clear in my last e-mail, i want to move in the direction of > > .mk files that the top level would include them and thus all the > > specific cruft would be kept there > > > > after all, the list of things to clean should be obvious once we have > > more kbuild style system: if it's listed as a file to build, then it > > should get cleaned. > > 'make distclean' and 'make mrproper' should delete ALL intermediate build > files and basically return the local git repository to the same state that > it would be in if you did a fresh git-clone regardless of what config > options git set.
yes. i dont believe i said anything differently. remember that just because you have COBJS-$(FOO) doesnt mean you need FOO to be defined to have access to that item. you can just as easily do `rm -f $(COBJS-) $(COBJS-y)`. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot