ia64/xen-unstable

view buildconfigs/src.tarball @ 18986:d6889b3b6423

Download external tarballs from xenbits.xensource.com

I have copied the tarballs that the xen-unstable build downloads to
xenbits.xensource.com (which also hosts our hg and git). This patch
changes the download URLs to use that location.

That way the build will depend on only one external machine, under one
administration, rather than many. Also it means that the build won't
break if these sites become permanently unavailable or are rearranged
and we don't run a risk of having to panic and beg if a file should go
missing.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jan 05 11:19:16 2009 +0000 (2009-01-05)
parents 34f7017a5941
children
line source
1 XEN_LINUX_MIRROR ?= http://www.kernel.org/pub/linux/kernel/v2.6/
2 XEN_LINUX_TARBALL ?= linux-$(LINUX_VER)-xen.tar.bz2
4 LINUX_SRCDIR ?= linux-$(LINUX_VER)
6 KETCHUP ?= python buildconfigs/ketchup
8 vpath linux-%.tar.bz2 $(LINUX_SRC_PATH)
10 # download a pristine Linux kernel tarball if there isn't one in LINUX_SRC_PATH
11 linux-%.tar.bz2:
12 @echo "Cannot find $@ in path $(LINUX_SRC_PATH)"
13 false wget $(XEN_LINUX_MIRROR)/$@ -O./$@
15 # XXX create a pristine tree for diff -Nurp convenience
17 %/.valid-src: $(__XEN_LINUX_UPDATE)
18 $(KETCHUP) -d $(@D) $(LINUX_VER)
19 touch $@ # update timestamp to avoid rebuild