summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-03-05 14:37:55 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-03-05 14:37:55 +0000
commitb502511cd15986e774bfb577c3356cb2e7dcab4e (patch)
tree8392f7948dfd6109fabc7a544bd1cc43c2101203 /Makefile.in
parent0be51502b63e2ac5080ec9e4a0fe59617533ee3c (diff)
Call explicitely objclean-y when doing build cleanup.
Remove 'find' command. It makes cleanup faster too. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 1 insertions, 3 deletions
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) {} \;