From: Ian Jackson Subject: [PATCH] Support using a specific branch or tag of ioemu-remote Date: Fri, 25 Jul 2008 13:56:47 +0100 Message-ID: <18569.52623.704891.159773@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org With this patch you can set QEMU_TAG to check out a specific version. When we set it, QEMU_TAG ought to be in Config.mk, I think. Signed-off-by: Ian Jackson diff -r a7642acd9caf tools/Makefile --- a/tools/Makefile Fri Jul 25 10:06:53 2008 +0100 +++ b/tools/Makefile Fri Jul 25 12:24:36 2008 +0100 @@ -78,6 +78,12 @@ ioemu-dir-find: rm -rf ioemu-remote ioemu-remote.tmp; \ mkdir ioemu-remote.tmp; rmdir ioemu-remote.tmp; \ $(GIT) clone $(CONFIG_QEMU) ioemu-remote.tmp; \ + if [ "$(QEMU_TAG)" ]; then \ + cd ioemu-remote.tmp; \ + $(GIT) branch -D dummy >/dev/null 2>&1 ||:; \ + $(GIT) checkout -b dummy $(QEMU_TAG); \ + cd ..; \ + fi; \ mv ioemu-remote.tmp ioemu-remote; \ fi; \ rm -f ioemu-dir; \