ia64/xen-unstable

changeset 18269:5a89f4f1ece1

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

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 06 09:33:10 2008 +0100 (2008-08-06)
parents f20fb83dac2c
children 4ce366cde89c
files stubdom/Makefile
line diff
     1.1 --- a/stubdom/Makefile	Tue Aug 05 13:55:14 2008 +0100
     1.2 +++ b/stubdom/Makefile	Wed Aug 06 09:33:10 2008 +0100
     1.3 @@ -10,10 +10,15 @@ include $(XEN_ROOT)/Config.mk
     1.4  override CONFIG_QEMU=ioemu
     1.5  
     1.6  IOEMU_OPTIONS=--disable-sdl --disable-opengl --disable-gfx-check --disable-vnc-tls --disable-brlapi --disable-kqemu
     1.7 +ZLIB_URL?=http://www.zlib.net
     1.8  ZLIB_VERSION=1.2.3
     1.9 +LIBPCI_URL?=http://www.kernel.org/pub/software/utils/pciutils
    1.10  LIBPCI_VERSION=2.2.9
    1.11 +NEWLIB_URL?=ftp://sources.redhat.com/pub/newlib
    1.12  NEWLIB_VERSION=1.16.0
    1.13 +LWIP_URL?=http://download.savannah.gnu.org/releases/lwip
    1.14  LWIP_VERSION=1.3.0
    1.15 +GRUB_URL?=http://alpha.gnu.org/gnu/grub
    1.16  GRUB_VERSION=0.97
    1.17  
    1.18  WGET=wget -c
    1.19 @@ -75,7 +80,7 @@ endif
    1.20  ##############
    1.21  
    1.22  newlib-$(NEWLIB_VERSION).tar.gz:
    1.23 -	$(WGET) ftp://sources.redhat.com/pub/newlib/$@
    1.24 +	$(WGET) $(NEWLIB_URL)/$@
    1.25  
    1.26  newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz
    1.27  	tar xzf $<
    1.28 @@ -97,7 +102,7 @@ cross-newlib: $(NEWLIB_STAMPFILE)
    1.29  ############
    1.30  
    1.31  zlib-$(ZLIB_VERSION).tar.gz:
    1.32 -	$(WGET) http://www.zlib.net/$@
    1.33 +	$(WGET) $(ZLIB_URL)/$@
    1.34  
    1.35  ZLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libz.a
    1.36  .PHONY: cross-zlib
    1.37 @@ -114,7 +119,7 @@ cross-zlib: $(ZLIB_STAMPFILE)
    1.38  ##############
    1.39  
    1.40  pciutils-$(LIBPCI_VERSION).tar.bz2:
    1.41 -	$(WGET) http://www.kernel.org/pub/software/utils/pciutils/$@
    1.42 +	$(WGET) $(LIBPCI_URL)/$@
    1.43  
    1.44  pciutils-$(LIBPCI_VERSION): pciutils-$(LIBPCI_VERSION).tar.bz2
    1.45  	tar xjf $<
    1.46 @@ -140,7 +145,7 @@ cross-libpci: $(LIBPCI_STAMPFILE)
    1.47  ######
    1.48  
    1.49  lwip-$(LWIP_VERSION).tar.gz:
    1.50 -	$(WGET) http://download.savannah.gnu.org/releases/lwip/$@
    1.51 +	$(WGET) $(LWIP_URL)/$@
    1.52  
    1.53  lwip: lwip-$(LWIP_VERSION).tar.gz
    1.54  	tar xzf $<
    1.55 @@ -247,7 +252,7 @@ c: $(CROSS_ROOT)
    1.56  ######
    1.57  
    1.58  grub-$(GRUB_VERSION).tar.gz:
    1.59 -	$(WGET) ftp://alpha.gnu.org/gnu/grub/$@
    1.60 +	$(WGET) $(GRUB_URL)/$@
    1.61  
    1.62  grub-upstream: grub-$(GRUB_VERSION).tar.gz
    1.63  	tar xzf $<