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

[Xen-changelog] This patch allows user to choose mirror to get linux kernel source instead of getting it from kernel.org (which set as default)



ChangeSet 1.1718.2.1, 2005/06/19 11:28:07+01:00, iap10@xxxxxxxxxxxxxxxxx

        This patch allows user to choose mirror to get linux kernel source 
instead of getting it from kernel.org (which set as default)



 Config.mk             |    3 +++
 buildconfigs/Rules.mk |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)


diff -Nru a/Config.mk b/Config.mk
--- a/Config.mk 2005-06-21 04:04:18 -04:00
+++ b/Config.mk 2005-06-21 04:04:18 -04:00
@@ -31,3 +31,6 @@
 
 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) 
 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))
+
+# Choose the best mirror to download linux kernel
+KERNEL_REPO = http://www.kernel.org
diff -Nru a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     2005-06-21 04:04:18 -04:00
+++ b/buildconfigs/Rules.mk     2005-06-21 04:04:18 -04:00
@@ -27,7 +27,7 @@
 linux-%.tar.bz2: override _LINUX_VDIR = $(word 1,$(subst ., ,$*)).$(word 
2,$(subst ., ,$*))
 linux-%.tar.bz2:
        @echo "Cannot find $@ in path $(LINUX_SRC_PATH)"
-       wget http://www.kernel.org/pub/linux/kernel/v$(_LINUX_VDIR)/$@ -O./$@
+       wget $(KERNEL_REPO)/pub/linux/kernel/v$(_LINUX_VDIR)/$@ -O./$@
 
 # Expand NetBSD release to NetBSD version
 NETBSD_RELEASE  ?= 2.0

_______________________________________________
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®.