Author: thomasp
Date: 2005-10-10 21:16:30 -0600 (Mon, 10 Oct 2005)
New Revision: 917

Modified:
   trunk/Makefile
Log:
Make sure to clean up cross-tools targets in make clean

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile      2005-10-11 02:48:33 UTC (rev 916)
+++ trunk/Makefile      2005-10-11 03:16:30 UTC (rev 917)
@@ -514,6 +514,10 @@
        @find $(PKG) -name "pass*" -exec rm -rf \{} \;
        @find $(PKG) -name "stage*" -exec rm -rf \{} \;
        @find $(PKG) -name "*.log" -exec rm -rf \{} \;
+ifeq ($(LFS-ARCH),x86_64)
+       @find $(PKG) -name "cross*" -exec rm -rf \{} \;
+       @rm -f $(PKG)/glibc/headers
+endif
        @find $(PKG)/binutils/* -xtype d -exec rm -rf \{} \;
        @rm -f $(PKG)/wget/prebuild
        @rm -f $(PKG)/binutils/{a.out,dummy.c,.spectest}

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to