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

[Xen-devel] [PATCH] build: use GIT_HTTP when defining QEMU_REMOTE



buildconfigs/mk.linux-2.6-* already obey this variable for
XEN_LINUX_GIT_URL, although I could not find it set anywhere.

I set GIT_HTTP to n by default. I think we should encourage those
people with problematic network connections change the default, rather
than using the less efficient version for everyone.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 4514d5890692 -r 7dc6866a9e9a Config.mk
--- a/Config.mk Fri Jul 16 17:44:04 2010 +0100
+++ b/Config.mk Wed Jul 21 09:04:20 2010 +0100
@@ -146,8 +146,13 @@
 # near the place in the Xen Makefiles where the file is used.
 
 # GIT protocol can be faster than HTTP, if your firewall lets it through.
-# QEMU_REMOTE=git://xenbits.xensource.com/qemu-xen-unstable.git
+GIT_HTTP ?= n
+
+ifeq ($(GIT_HTTP),y)
 QEMU_REMOTE=http://xenbits.xensource.com/git-http/qemu-xen-unstable.git
+else
+QEMU_REMOTE=git://xenbits.xensource.com/qemu-xen-unstable.git
+endif
 
 # Specify which qemu-dm to use. This may be `ioemu' to use the old
 # Mercurial in-tree version, or a local directory, or a git URL.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.