Author: justin
Date: 2005-11-28 01:09:56 -0700 (Mon, 28 Nov 2005)
New Revision: 1181

Modified:
   branches/6.1.1-newmake/Makefile
   branches/6.1.1-newmake/packages/binutils/Makefile
   branches/6.1.1-newmake/packages/linux/Makefile
Log:
Added a few make clean fixes to remove leftover files and package symlinks in 
PKG/*/.

Modified: branches/6.1.1-newmake/Makefile
===================================================================
--- branches/6.1.1-newmake/Makefile     2005-11-28 08:04:53 UTC (rev 1180)
+++ branches/6.1.1-newmake/Makefile     2005-11-28 08:09:56 UTC (rev 1181)
@@ -398,10 +398,12 @@
        @-rm 
{prepiso,lfsuser,unamemod,prep-chroot,lfs-base,extend-lfs,lfs-strip,}
        @-rm {sqfs.log,lfs-strip,pre-wget}
        @-rm $(PKG)/binutils/{,re-}adjust-toolchain
+       @-rm $(PKG)/initramfs/stage2
        @-for i in `ls $(PKG)` ; do $(MAKE) -C $(PKG)/$$i clean ; done
        @find $(PKG) -name "pass*" -exec rm -rf \{} \;
        @find $(PKG) -name "stage*" -exec rm -rf \{} \;
        @find $(PKG) -name "*.log" -exec rm -rf \{} \;
+       @find $(PKG)/*/ -type l -exec rm -fr \{} \;
        @echo find $(PKG)/binutils/* ! -path '$(PKG)/binutils/vars*' -xtype d 
-exec rm -rf \{} \;
        @rm -f $(PKG)/wget/prebuild
        @rm -f $(PKG)/binutils/{a.out,dummy.c,.spectest}

Modified: branches/6.1.1-newmake/packages/binutils/Makefile
===================================================================
--- branches/6.1.1-newmake/packages/binutils/Makefile   2005-11-28 08:04:53 UTC 
(rev 1180)
+++ branches/6.1.1-newmake/packages/binutils/Makefile   2005-11-28 08:09:56 UTC 
(rev 1181)
@@ -37,7 +37,7 @@
         $$SPECFILE > tempspecfile && \
         mv -f tempspecfile $$SPECFILE && unset SPECFILE && \
         rm -vf /tools/lib/gcc/*/*/include/{pthread.h,bits/sigthread.h} && \
-        cd .. && make clean ; fi
+        cd .. && make clean ; rm .specstest ; fi
        touch $@
 
 pass2: $(FILE) 
@@ -62,7 +62,7 @@
         make -C ld INSTALL=$(WD)/bin/install install && \
         perl -pi -e 's@ $(WD)/lib/ld-linux.so.2@ /lib/[EMAIL PROTECTED];' \
         -e '[EMAIL PROTECTED]:[EMAIL PROTECTED]/usr/lib/@g;' \
-        `gcc --print-file specs` ; fi
+        `gcc --print-file specs` ; rm .specstest ; fi
        make clean
        touch $@
 

Modified: branches/6.1.1-newmake/packages/linux/Makefile
===================================================================
--- branches/6.1.1-newmake/packages/linux/Makefile      2005-11-28 08:04:53 UTC 
(rev 1180)
+++ branches/6.1.1-newmake/packages/linux/Makefile      2005-11-28 08:09:56 UTC 
(rev 1181)
@@ -40,5 +40,6 @@
 
 clean:
        -rm -rf $(DIR)
+       -rm reiser4.patch
 
 .PHONY: clean chroot compile-stage2

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

Reply via email to