All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "Phil Winterfield (winterfi)" <winterfi@cisco.com>,
	xen-devel@lists.xensource.com
Subject: Re: Build Problems w/ latest xen-unstable.hg
Date: Tue, 5 Aug 2008 11:40:44 +0100	[thread overview]
Message-ID: <20080805104044.GL4478@implementation.uk.xensource.com> (raw)
In-Reply-To: <C4BDC1EE.1BCF4%keir.fraser@eu.citrix.com>

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@eu.citrix.com>

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 $<

  reply	other threads:[~2008-08-05 10:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-04 19:31 Build Problems w/ latest xen-unstable.hg Phil Winterfield (winterfi)
2008-08-04 19:55 ` Keir Fraser
2008-08-04 21:59   ` Keir Fraser
2008-08-04 23:56   ` Phil Winterfield (winterfi)
2008-08-05  7:38     ` Keir Fraser
2008-08-05 10:40       ` Samuel Thibault [this message]
     [not found] <38AD81989214D54EB5F20C69477AF6C106A90C38@xmb-sjc-217.amer.cisco.com>
     [not found] ` <C4BD2AB6.1BCC8%keir.fraser@eu.citrix.com>
2008-08-06  0:43   ` Phil Winterfield (winterfi)
2008-08-06  7:14     ` Keir Fraser
2008-08-11 11:16     ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080805104044.GL4478@implementation.uk.xensource.com \
    --to=samuel.thibault@eu.citrix.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=winterfi@cisco.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.