From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Re: [PATCH] build: use GIT_HTTP when defining QEMU_REMOTE Date: Wed, 21 Jul 2010 09:16:23 +0100 Message-ID: References: <1279699676.5872.1674.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1279699676.5872.1674.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org Yes indeed! I also backported it for 4.0.1 already. :-) -- Keir On 21/07/2010 09:07, "Ian Campbell" wrote: > Nevermind, I see you beat me to it with a more comprehensive version. > > On Wed, 2010-07-21 at 09:06 +0100, Ian Campbell wrote: >> 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 >> >> 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@lists.xensource.com > http://lists.xensource.com/xen-devel