Hi, 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. Regards, Daniel -- Daniel Kriesten http://www.die-kriestens.de