dslinux/toolchain Makefile

stsp stsp at user.in-berlin.de
Fri Oct 13 11:06:09 CEST 2006


Update of /cvsroot/dslinux/dslinux/toolchain
In directory antilope:/tmp/cvs-serv904

Modified Files:
	Makefile 
Log Message:
Check MD5 sum before unpacking gcc sources (stage 1).


Index: Makefile
===================================================================
RCS file: /cvsroot/dslinux/dslinux/toolchain/Makefile,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- Makefile	3 Oct 2006 11:52:39 -0000	1.25
+++ Makefile	13 Oct 2006 09:06:06 -0000	1.26
@@ -380,6 +380,8 @@
 
 # unpack gcc (stage 1)
 $(GCC_SRCDIR)/.stage1-unpacked: $(DISTDIR)/$(GCC_DIST)
+	test "`md5sum $(DISTDIR)/$(GCC_DIST) | cut -d' ' -f 1`" \
+		= "$(GCC_DIST_MD5)"
 	tar -C $(SRCDIR) -jxf $(DISTDIR)/$(GCC_DIST)
 	touch $@
 




More information about the dslinux-commit mailing list