Author: justin
Date: 2005-11-28 01:04:53 -0700 (Mon, 28 Nov 2005)
New Revision: 1180
Modified:
trunk/Makefile
trunk/packages/binutils/Makefile
trunk/packages/linux/Makefile
Log:
Added a few make clean fixes to remove leftover files and package symlinks in
PKG/*/.
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2005-11-28 07:44:42 UTC (rev 1179)
+++ trunk/Makefile 2005-11-28 08:04:53 UTC (rev 1180)
@@ -558,10 +558,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 \{} \;
ifdef CROSS
@find $(PKG) -name "cross*" -exec rm -rf \{} \;
@rm -f $(PKG)/glibc/headers
Modified: trunk/packages/binutils/Makefile
===================================================================
--- trunk/packages/binutils/Makefile 2005-11-28 07:44:42 UTC (rev 1179)
+++ trunk/packages/binutils/Makefile 2005-11-28 08:04:53 UTC (rev 1180)
@@ -104,7 +104,7 @@
SPECFILE=`dirname $$(gcc -print-libgcc-file-name)`/specs && \
gcc -dumpspecs > $$SPECFILE && \
sed -i '[EMAIL PROTECTED](WD)/lib/$(LINKER)@/lib/$(LINKER)@g'
$$SPECFILE && \
- unset SPECFILE ; fi
+ unset SPECFILE ; rm .specstest ; fi
make clean
touch $@
Modified: trunk/packages/linux/Makefile
===================================================================
--- trunk/packages/linux/Makefile 2005-11-28 07:44:42 UTC (rev 1179)
+++ trunk/packages/linux/Makefile 2005-11-28 08:04:53 UTC (rev 1180)
@@ -68,5 +68,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