[Balloon-svn] r1216 - balloon/trunk/kernel

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: subversion@balloonboard.org
Date:  
To: balloon-svn
Subject: [Balloon-svn] r1216 - balloon/trunk/kernel
Author: wookey
Date: 2010-08-25 11:31:33 +0100 (Wed, 25 Aug 2010)
New Revision: 1216

Modified:
balloon/trunk/kernel/Makefile
Log:
Use git instead of cvs for yaffs checkouts


Modified: balloon/trunk/kernel/Makefile
===================================================================
--- balloon/trunk/kernel/Makefile    2010-08-25 10:27:53 UTC (rev 1215)
+++ balloon/trunk/kernel/Makefile    2010-08-25 10:31:33 UTC (rev 1216)
@@ -96,15 +96,13 @@
     ln -s `pwd`/$(KERNVER) $(BUILD)/patches
     touch $(RES)/patchlink.stamp


-#this needs to support git checkout after 2010-03-18, 
-#using rev-list to map date to version
-#git checkout `git rev-list -n 1 --before="2009-07-27" master`
 $(RES)/yaffs-source-$(YAFFSCHECKOUT).stamp: $(RES)/unpacked-$(KERNVER).stamp
     ( cd $(RES) && rm -rf yaffs2 && \
     (( wget -N $(RELEASESITE)/sources/kernel/yaffs-$(YAFFSCHECKOUT).tar.bz2 && \
       tar --extract --bzip2 --file yaffs-$(YAFFSCHECKOUT).tar.bz2) || \
-      ( echo "Checking out yaffs2 ($(YAFFSCHECKOUT)) from cvs"; \
-        CVSROOT=:pserver::/home/aleph1/cvs cvs export -f -D "$(YAFFSCHECKOUT)" yaffs2 || test $$? = 2 ) )) && \
+        ( echo "Fetch yaffs2 ($(YAFFSCHECKOUT)) from git"; \
+         git archive --format=tar --prefix=yaffs2/ --remote=git://www.aleph1.co.uk/yaffs2  master@{YAFFSCHECKOOUT} | tar -x \
+          || test $$? = 2 ) )) && \
     ( cd $(RES)/yaffs2 && ./patch-ker.sh c ../linux-$(KERNVER) && \
     cd .. && tar -cjf $(RES)/yaffs-$(YAFFSCHECKOUT).tar.bz2 yaffs2 && rm -rf yaffs2) && \
     touch $(RES)/yaffs-source-$(YAFFSCHECKOUT).stamp