WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Build Problems w/ latest xen-unstable.hg

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Build Problems w/ latest xen-unstable.hg
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Tue, 5 Aug 2008 11:40:44 +0100
Cc: "Phil Winterfield \(winterfi\)" <winterfi@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Aug 2008 03:42:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4BDC1EE.1BCF4%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <38AD81989214D54EB5F20C69477AF6C106A90DA3@xxxxxxxxxxxxxxxxxxxxxxxxxx> <C4BDC1EE.1BCF4%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Keir Fraser, le Tue 05 Aug 2008 08:38:06 +0100, a écrit :
> I’m not sure if there is a canonical http download link for these tarballs.

There is one for grub, but I couldn't find any for newlib.

> Even if not, we should make the download addresses configurable I guess.

Here is a patch.

Samuel

stubdom: add *_URL variables to permit to use e.g. local mirrors.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>

diff -r 822982c8be93 stubdom/Makefile
--- a/stubdom/Makefile  Mon Aug 04 16:54:06 2008 +0100
+++ b/stubdom/Makefile  Tue Aug 05 11:36:03 2008 +0100
@@ -11,10 +11,15 @@ override CONFIG_QEMU=ioemu
 override CONFIG_QEMU=ioemu
 
 IOEMU_OPTIONS=--disable-sdl --disable-opengl --disable-vnc-tls 
--disable-brlapi --disable-kqemu
+ZLIB_URL?=http://www.zlib.net
 ZLIB_VERSION=1.2.3
+LIBPCI_URL?=http://www.kernel.org/pub/software/utils/pciutils
 LIBPCI_VERSION=2.2.9
+NEWLIB_URL?=ftp://sources.redhat.com/pub/newlib
 NEWLIB_VERSION=1.16.0
+LWIP_URL?=http://download.savannah.gnu.org/releases/lwip
 LWIP_VERSION=1.3.0
+GRUB_URL?=http://alpha.gnu.org/gnu/grub
 GRUB_VERSION=0.97
 
 WGET=wget -c
@@ -76,7 +81,7 @@ endif
 ##############
 
 newlib-$(NEWLIB_VERSION).tar.gz:
-       $(WGET) ftp://sources.redhat.com/pub/newlib/$@
+       $(WGET) $(NEWLIB_URL)/$@
 
 newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz
        tar xzf $<
@@ -98,7 +103,7 @@ cross-newlib: $(NEWLIB_STAMPFILE)
 ############
 
 zlib-$(ZLIB_VERSION).tar.gz:
-       $(WGET) http://www.zlib.net/$@
+       $(WGET) $(ZLIB_URL)/$@
 
 ZLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libz.a
 .PHONY: cross-zlib
@@ -115,7 +120,7 @@ cross-zlib: $(ZLIB_STAMPFILE)
 ##############
 
 pciutils-$(LIBPCI_VERSION).tar.bz2:
-       $(WGET) http://www.kernel.org/pub/software/utils/pciutils/$@
+       $(WGET) $(LIBPCI_URL)/$@
 
 pciutils-$(LIBPCI_VERSION): pciutils-$(LIBPCI_VERSION).tar.bz2
        tar xjf $<
@@ -141,7 +146,7 @@ cross-libpci: $(LIBPCI_STAMPFILE)
 ######
 
 lwip-$(LWIP_VERSION).tar.gz:
-       $(WGET) http://download.savannah.gnu.org/releases/lwip/$@
+       $(WGET) $(LWIP_URL)/$@
 
 lwip: lwip-$(LWIP_VERSION).tar.gz
        tar xzf $<
@@ -248,7 +253,7 @@ c: $(CROSS_ROOT)
 ######
 
 grub-$(GRUB_VERSION).tar.gz:
-       $(WGET) ftp://alpha.gnu.org/gnu/grub/$@
+       $(WGET) $(GRUB_URL)/$@
 
 grub-upstream: grub-$(GRUB_VERSION).tar.gz
        tar xzf $<

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