[Balloon-svn] r484 - 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] r484 - balloon/trunk/kernel
Author: wookey
Date: 2008-05-14 15:22:44 +0100 (Wed, 14 May 2008)
New Revision: 484

Modified:
balloon/trunk/kernel/Makefile
Log:
Add yaffs files using copy not link, because linking and quilt patches
don't get on (quilt fails to keep correct copy of old version)


Modified: balloon/trunk/kernel/Makefile
===================================================================
--- balloon/trunk/kernel/Makefile    2008-05-14 14:19:46 UTC (rev 483)
+++ balloon/trunk/kernel/Makefile    2008-05-14 14:22:44 UTC (rev 484)
@@ -64,10 +64,11 @@
    touch $(RES)/unpacked-$(KERNVER).stamp

$(RES)/yaffs-source-$(YAFFSCHECKOUT).stamp: $(RES)/unpacked-$(KERNVER).stamp
-    ( cd $(RES) && rm -r yaffs2 && \
+    ( 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 ))
-    ( cd $(RES)/yaffs2 && ./patch-ker.sh l ../linux-$(KERNVER) )
+    ( cd $(RES)/yaffs2 && ./patch-ker.sh c ../linux-$(KERNVER) && \
+    cd .. && rm -rf yaffs2)
    touch $(RES)/yaffs-source-$(YAFFSCHECKOUT).stamp

#this logic needs to change so that quilt.stamp is time of last quilting