[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] use alternative mirror for. gcc make clean doesn't wipe out patches



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 2804be3661badaaab9b19a4971a1faf0fd8fad85
# Parent  448ec593b0b7b68f606e580e5c964d9a8bed22ce
use alternative mirror for. gcc make clean doesn't wipe out patches
directory anymore, which confuses hg unless multiple patches apply
correctly.

Signed off by: Sean Dague <sean@xxxxxxxxx>

diff -r 448ec593b0b7 -r 2804be3661ba tools/xm-test/ramdisk/Makefile.am
--- a/tools/xm-test/ramdisk/Makefile.am Thu Feb  2 11:28:18 2006
+++ b/tools/xm-test/ramdisk/Makefile.am Thu Feb  2 11:28:53 2006
@@ -31,7 +31,7 @@
        cp configs/busybox $(BR_SRC)/package/busybox/busybox.config
        cp configs/uClibc $(BR_SRC)/toolchain/uClibc/uClibc.config
        (for i in patches/buildroot/*.patch; do \
-         cd $(BR_SRC) && patch -p1 <../$$i; done )
+         cd $(BR_SRC) && patch -p1 <../$$i && cd ..; done )
        cd $(BR_SRC) && make oldconfig && make
 
 $(XMTEST_VER_IMG): $(BR_IMG)
@@ -67,5 +67,4 @@
        rm -f *~
        rm -f initrd.img
        rm -f $(BR_TAR)
-       rm -Rf patches make.d
        rm -f disk.img
diff -r 448ec593b0b7 -r 2804be3661ba 
tools/xm-test/ramdisk/patches/buildroot/gcc-mirror.patch
--- /dev/null   Thu Feb  2 11:28:18 2006
+++ b/tools/xm-test/ramdisk/patches/buildroot/gcc-mirror.patch  Thu Feb  2 
11:28:53 2006
@@ -0,0 +1,13 @@
+--- buildroot/toolchain/gcc/gcc-uclibc-3.x.mk~ 2006-01-15 17:41:18.000000000 
-0500
++++ buildroot/toolchain/gcc/gcc-uclibc-3.x.mk  2006-01-15 17:43:07.000000000 
-0500
+@@ -20,8 +20,8 @@
+ GCC_VERSION:=$(strip $(GCC_VERSION))
+ 
+ #GCC_SITE:=ftp://ftp.gnu.org/gnu/gcc/releases/gcc-$(GCC_VERSION)
+-GCC_SITE:=http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-$(GCC_VERSION)
+-
++#GCC_SITE:=http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-$(GCC_VERSION)
++GCC_SITE:=http://mirrors.usc.edu/pub/gnu/gcc/gcc-$(GCC_VERSION)
+ #
+ # snapshots....
+ #GCC_VERSION:=3.3-20031013

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.