Am 18.04.2012 um 16:16 schrieb Michael Olbrich: > On Wed, Apr 18, 2012 at 01:25:07PM +0200, Daniel Kriesten wrote: >> Am 18.04.2012 um 10:29 schrieb Michael Olbrich: >>>> [...] >>>>> [...] >>>>>> An other thing is xargs ... without the gnu version make distclean fails. >>>>>> The solution is to symlink in .../lib/ptxdist-2012.04.0/bin/, too. >>>>> >>>>> It's "make clean" actually and that will remove the relevant symlink. >>>>> Would this work: >>>> >>>> That one is already in ptxdist, after 2012.04: >>>> >>>> http://git.pengutronix.de/?p=ptxdist.git;a=commit;h=394af1de808e6fc4c3cf921d36e1b1f887133eb7 >>> >>> Yes it's there, and calling "make clean" twice still breaks. >>> >>>>> ------------------------------------------------------------------ >>>>> diff --git a/Makefile.in b/Makefile.in >>>>> index 8382402..32784c8 100644 >>>>> --- a/Makefile.in >>>>> +++ b/Makefile.in >>>>> @@ -63,7 +63,7 @@ environment: >>>>> >>>>> clean: >>>>> @rm -f .done >>>>> - @find "$(abs_srcdir)/bin" -type l -print0 | xargs -r -0 rm >>>>> + @cd "$(abs_srcdir)/bin" && find -type l -print | xargs rm -f >>>>> @$(MAKE) -C "$(abs_srcdir)/scripts/kconfig" clean >>>> >>>> Maybe just -exec ? Maybe it is a bit slower? But see above. >>> >>> I really don't care either way. >> >> From my point of view removing -r and adding -f is a simple, but sufficient >> solution. I added the corresponding patch, along with a patch fixing a typo >> in configure.ac. > > So "find -print0" works, right? I wasn't sure if that's a GNU extension. > The xargs man-page I have says "... The GNU find -print0 option produces > input suitable for this mode.". So I wasn't sure if this works _only_ with > GNU find. Uh - I'll check that. Mit freundlichen Grüßen Daniel Kriesten -- Daniel Kriesten Professur Schaltkreis- und Systementwurf Technische Universität Chemnitz, Reichenhainer Str. 31-33, 09126 Chemnitz Tel: +49 371 531 33058 Fax: +49 371 531 833058 http://www.tu-chemnitz.de/etit/sse