Fixes for xm-test
PATCH 1/1 Fixes for xm-test
It was noticed last week that xm-test no longer built because the mirror used for gcc has fallen off the map. In the process of fixing that I also fixed a couple of the make targets to ensure multiple patches can be applied, and make clean doesn't wipe out directories controlled under hg (which would be very bad form).
-Sean
Signature · 9 lines
__________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________
Signed off by: Sean Dague <[email protected]>
b/tools/xm-test/ramdisk/patches/buildroot/gcc-mirror.patch | 13 +++++++++++++ tools/xm-test/ramdisk/Makefile.am | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-)
# HG changeset patch
# User [email protected]
# Node ID d00d288ee7fbd450336309b01f0cf27ff0c1e3f2
# Parent d783bdd14f2eff514e36b92ded0e3d22be7cf3d0
use alternative mirror for gcc
make clean doesn't wipe out patches directory anymore, which confuses hg less multiple patches apply correctly
tools/xm-test/ramdisk/Makefile.am +1 -2
@@ -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)
@@ -58,5 +58,4 @@ rm -f *~ rm -f initrd.img rm -f $(BR_TAR) - rm -Rf patches make.d rm -f disk.img
tools/xm-test/ramdisk/patches/buildroot/gcc-mirror.patch new file +13 -0
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel