From: Carmelo Amoroso Date: Wed, 5 Mar 2008 14:37:55 +0000 (-0000) Subject: Call explicitely objclean-y when doing build cleanup. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b502511cd15986e774bfb577c3356cb2e7dcab4e;p=uclinux-h8%2FuClibc.git Call explicitely objclean-y when doing build cleanup. Remove 'find' command. It makes cleanup faster too. Signed-off-by: Carmelo Amoroso --- diff --git a/Makefile.in b/Makefile.in index c35db752f..ab79a197c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -343,8 +343,7 @@ clean: $(Q)$(RM) -r lib include/bits $(RM) lib*/*.a ldso/*/*.a libpthread/*/*.a $(RM) include/fpu_control.h include/dl-osinfo.h include/hp-timing.h - $(MAKE) -C extra/locale locale_clean - $(MAKE) headers_clean-y + $(MAKE) objclean-y headers_clean-y $(MAKE) -s -C test clean $(MAKE) -C utils utils_clean @set -e; \ @@ -357,7 +356,6 @@ clean: done; \ fi @$(RM) include/linux include/asm* - -find . \( -name \*.o -o -name \*.os -o -name \*.oS \) -exec $(RM) {} \; distclean: clean -find . \( -name core -o -name \*.orig -o -name \*~ \) -exec $(RM) {} \;