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

[Xen-changelog] [xen-unstable] stubdom: add *_URL variables to permit to use e.g. local mirrors.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1218011590 -3600
# Node ID 5a89f4f1ece18034a17ddf59551f4b28ed0ef42e
# Parent  f20fb83dac2c21c54115302d90bf4ca3d317efe2
stubdom: add *_URL variables to permit to use e.g. local mirrors.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 stubdom/Makefile |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff -r f20fb83dac2c -r 5a89f4f1ece1 stubdom/Makefile
--- a/stubdom/Makefile  Tue Aug 05 13:55:14 2008 +0100
+++ b/stubdom/Makefile  Wed Aug 06 09:33:10 2008 +0100
@@ -10,10 +10,15 @@ override CONFIG_QEMU=ioemu
 override CONFIG_QEMU=ioemu
 
 IOEMU_OPTIONS=--disable-sdl --disable-opengl --disable-gfx-check 
--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
@@ -75,7 +80,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 $<
@@ -97,7 +102,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
@@ -114,7 +119,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 $<
@@ -140,7 +145,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 $<
@@ -247,7 +252,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-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®.