r369 - x86/trunk/packages/gcc

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun Jul 17 23:32:18 PDT 2005


Author: jhuntwork
Date: 2005-07-18 00:32:18 -0600 (Mon, 18 Jul 2005)
New Revision: 369

Modified:
   x86/trunk/packages/gcc/Makefile
Log:
Updates to gcc Makefile - uses new download function

Modified: x86/trunk/packages/gcc/Makefile
===================================================================
--- x86/trunk/packages/gcc/Makefile	2005-07-18 06:17:33 UTC (rev 368)
+++ x86/trunk/packages/gcc/Makefile	2005-07-18 06:32:18 UTC (rev 369)
@@ -4,10 +4,19 @@
 NM= gcc
 VRS= 3.4.4
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR).tar.bz2
+SHA= dbe5935c04f799c77b49d6806f9d7db6d9b5cd35
+
 PATCH1= $(DIR)-no_fixincludes-1.patch
+SHA1= 2175d7dd8fa64038cc3e7db1ad57bb2cf0f8c693
+
 PATCH2= $(DIR)-specs-2.patch
+SHA2= 946226d5a463e85829b70c922e827c1ce6cd211c
+
 PATCH3= $(DIR)-linkonce-1.patch
+SHA3= 50de9e6d265d191ea0e6877c4152fd1cff78fb2c
+
 URL= $(HTTP)/$(NM)/$(FILE)
 URL1= http://www.linuxfromscratch.org/patches/downloads/$(NM)/$(PATCH1)
 URL2= http://www.linuxfromscratch.org/patches/downloads/$(NM)/$(PATCH2)
@@ -19,20 +28,16 @@
 include $(ROOT)/scripts/functions
 
 $(FILE):
-	@cd $(SRC) ; $(WGET) $(URL)
-	@ln -s $(SRC)/$(FILE) .
+	@$(call download,$(FILE),$(URL),$(SHA))
 
 $(PATCH1):
-	@cd $(SRC) ; $(WGET) $(URL1)
-	@ln -s $(SRC)/$(PATCH1) .
+	@$(call download,$(PATCH1),$(URL1),$(SHA1))
 
 $(PATCH2):
-	@cd $(SRC) ; $(WGET) $(URL2)
-	@ln -s $(SRC)/$(PATCH2) .
+	@$(call download,$(PATCH2),$(URL2),$(SHA2))
 
 $(PATCH3):
-	@cd $(SRC) ; $(WGET) $(URL3)
-	@ln -s $(SRC)/$(PATCH3) .
+	@$(call download,$(PATCH3),$(URL3),$(SHA3))
 
 pass1: Makefile $(FILE)
 	@$(std_build)
@@ -114,7 +119,7 @@
 	@chroot "$(MP)" $(chenv-pre-bash) \
 	'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
 
-stage2: Makefile $(FILE)
+stage2: Makefile $(FILE) $(PATCH1) $(PATCH3)
 	$(std_build)
 
 compile-stage2:




More information about the livecd mailing list