|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6] Autoconf: add variable for pass arbitrary options to qemu upstream
On 05/08/14 07:43, Ian Campbell wrote: On Thu, 2014-05-08 at 13:00 +0200, Fabio Fantoni wrote:Il 08/05/2014 11:53, Ian Campbell ha scritto:On Tue, 2014-05-06 at 16:30 +0200, Fabio Fantoni wrote:Added configure options for pass arbitrary build options to qemu upstream. Usage example: ./configure QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir"
Sorry I missed early versions of this. There is no reason
that I know of to involve configure in this. The following
works just fine (Just the makefile change and a changed
commit message):
From 847b9dee4dea17c86f6ec402e5fcff7d515d1767 Mon Sep 17 00:00:00 2001
From: Fabio Fantoni <fabio.fantoni@xxxxxxx>
Date: Tue, 6 May 2014 16:30:50 +0200
Subject: [PATCH] tools: Pass arbitrary build options to qemu upstream.
Usage examples:
CONFIG_QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir" make tools
or
make tools CONFIG_QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir"
or
echo CONFIG_QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir" >>.config
make tools
or
export CONFIG_QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir"
make tools
Signed-off-by: Fabio Fantoni <fabio.fantoni@xxxxxxx>
---
tools/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/Makefile b/tools/Makefile
index 3675515..992fe3e 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -203,6 +203,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
--disable-docs \
--disable-guest-agent \
--python=$(PYTHON) \
+ $(CONFIG_QEMUU_EXTRA_ARGS) \
$(IOEMU_CONFIGURE_CROSS); \
$(MAKE) all
--
1.8.2.1
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |