Author: jhuntwork
Date: 2005-05-15 16:16:46 -0600 (Sun, 15 May 2005)
New Revision: 185
Modified:
trunk/packages/linux/Makefile
Log:
Fixed linux Makefile to not download patches if they already exist
Modified: trunk/packages/linux/Makefile
===================================================================
--- trunk/packages/linux/Makefile 2005-05-15 22:10:18 UTC (rev 184)
+++ trunk/packages/linux/Makefile 2005-05-15 22:16:46 UTC (rev 185)
@@ -26,8 +26,8 @@
@if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && mv $(FILE) $(SRC)
; fi
@if [ ! -f /boot/isolinux/linux ] ; then tar xjvf $(SRC)/$(FILE) && cd
$(DIR) && \
$(WGET) $(URL1).2/serie && \
- for i in `cat serie` ; do $(WGET) $(URL1).2/$$i && \
- mv $$i ../ && patch -Np1 -i ../$$i ; done && \
+ for i in `cat serie` ; do if [ ! -f ../$$i ] ; then $(WGET)
$(URL1).2/$$i && \
+ mv $$i ../ ; fi && patch -Np1 -i ../$$i ; done && \
patch -Np1 -i
$(ROOT)/$(PKG)/squashfs/squashfs2.1/linux-2.6.9/$(PATCH1) && \
make mrproper && \
cp $(ROOT)/linux/config .config && \
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page