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

[Xen-changelog] [xen-4.0-testing] build: Make all GIT download URLs depend correctly on GIT_HTTP={y, n}



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1279700060 -3600
# Node ID 9508cfbb524159add50c733ed6f3a9d7d04249b6
# Parent  4f3a85e09c566ee4ea4a0ba2f0e6d258b58ca8ac
build: Make all GIT download URLs depend correctly on GIT_HTTP={y,n}

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   21838:e8dbc1262f52
xen-unstable date:        Wed Jul 21 09:02:10 2010 +0100
---
 Config.mk |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff -r 4f3a85e09c56 -r 9508cfbb5241 Config.mk
--- a/Config.mk Wed Jul 21 09:11:25 2010 +0100
+++ b/Config.mk Wed Jul 21 09:14:20 2010 +0100
@@ -139,14 +139,22 @@ FLASK_ENABLE ?= n
 FLASK_ENABLE ?= n
 ACM_SECURITY ?= n
 
+# Download GIT repositories via HTTP or GIT's own protocol?
+# GIT's protocol is faster and more robust, when it works at all (firewalls
+# may block it). We make it the default, but if your GIT repository downloads
+# fail or hang, please specify GIT_HTTP=y in your environment.
+GIT_HTTP ?= n
+
 XEN_EXTFILES_URL=http://xenbits.xensource.com/xen-extfiles
 # All the files at that location were downloaded from elsewhere on
 # the internet.  The original download URL is preserved as a comment
 # 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
+ifeq ($(GIT_HTTP),y)
 QEMU_REMOTE=http://xenbits.xensource.com/git-http/qemu-xen-4.0-testing.git
+else
+QEMU_REMOTE=git://xenbits.xensource.com/qemu-xen-4.0-testing.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-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®.