aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-07-21 09:02:10 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-07-21 09:02:10 +0100
commitafb0532ff022b14415d925cdd7ebcef640d07a06 (patch)
tree6b43f88dc2d92ccb66ff4792c66e82bc61e27ace /Config.mk
parent077b04c0350e1bc20a41b06dad49a3e2a72ca8c8 (diff)
downloadxen-afb0532ff022b14415d925cdd7ebcef640d07a06.tar.gz
xen-afb0532ff022b14415d925cdd7ebcef640d07a06.tar.bz2
xen-afb0532ff022b14415d925cdd7ebcef640d07a06.zip
build: Make all GIT download URLs depend correctly on GIT_HTTP={y,n}
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/Config.mk b/Config.mk
index 5c5b66a3b7..cd15726009 100644
--- a/Config.mk
+++ b/Config.mk
@@ -140,14 +140,22 @@ XSM_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-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.