From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMjgw-00056C-Lz for qemu-devel@nongnu.org; Sun, 28 Nov 2010 11:01:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMjgu-0000hv-MA for qemu-devel@nongnu.org; Sun, 28 Nov 2010 11:01:30 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:53359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMjgu-0000hL-1e for qemu-devel@nongnu.org; Sun, 28 Nov 2010 11:01:28 -0500 Received: from smtp02.web.de ( [172.20.0.184]) by fmmailgate01.web.de (Postfix) with ESMTP id 0037117EA24B1 for ; Sun, 28 Nov 2010 16:59:42 +0100 (CET) Received: from [88.66.127.175] (helo=mchn199C.mchp.siemens.de) by smtp02.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #24) id 1PMjfB-0007GB-00 for qemu-devel@nongnu.org; Sun, 28 Nov 2010 16:59:41 +0100 Message-ID: <4CF27C6D.9000401@web.de> Date: Sun, 28 Nov 2010 16:59:41 +0100 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH] xen: Restrict build to x86 targets List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel From: Jan Kiszka Xen target bits in qemu are intended for x86. Let the build system reflect this and avoid useless building/linking for other targets. Signed-off-by: Jan Kiszka --- Makefile.objs | 4 ++-- Makefile.target | 4 ++-- configure | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 13ba26f..eabb032 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -148,8 +148,8 @@ slirp-obj-y += tcp_subr.o tcp_timer.o udp.o bootp.o tftp.o common-obj-$(CONFIG_SLIRP) += $(addprefix slirp/, $(slirp-obj-y)) # xen backend driver support -common-obj-$(CONFIG_XEN) += xen_backend.o xen_devconfig.o -common-obj-$(CONFIG_XEN) += xen_console.o xenfb.o xen_disk.o xen_nic.o +common-obj-$(CONFIG_XEN_HOST) += xen_backend.o xen_devconfig.o +common-obj-$(CONFIG_XEN_HOST) += xen_console.o xenfb.o xen_disk.o xen_nic.o ###################################################################### # libuser diff --git a/Makefile.target b/Makefile.target index 5784844..0863d5c 100644 --- a/Makefile.target +++ b/Makefile.target @@ -203,8 +203,8 @@ QEMU_CFLAGS += $(VNC_SASL_CFLAGS) QEMU_CFLAGS += $(VNC_JPEG_CFLAGS) QEMU_CFLAGS += $(VNC_PNG_CFLAGS) -# xen backend driver support -obj-$(CONFIG_XEN) += xen_machine_pv.o xen_domainbuild.o +# xen target support +obj-$(CONFIG_XEN_TARGET) += xen_machine_pv.o xen_domainbuild.o # USB layer obj-$(CONFIG_USB_OHCI) += usb-ohci.o diff --git a/configure b/configure index 2917874..3dd252a 100755 --- a/configure +++ b/configure @@ -2565,7 +2565,7 @@ if test "$bluez" = "yes" ; then echo "BLUEZ_CFLAGS=$bluez_cflags" >> $config_host_mak fi if test "$xen" = "yes" ; then - echo "CONFIG_XEN=y" >> $config_host_mak + echo "CONFIG_XEN_HOST=y" >> $config_host_mak fi if test "$io_thread" = "yes" ; then echo "CONFIG_IOTHREAD=y" >> $config_host_mak @@ -2903,7 +2903,7 @@ echo "TARGET_ABI_DIR=$TARGET_ABI_DIR" >> $config_target_mak case "$target_arch2" in i386|x86_64) if test "$xen" = "yes" -a "$target_softmmu" = "yes" ; then - echo "CONFIG_XEN=y" >> $config_target_mak + echo "CONFIG_XEN_TARGET=y" >> $config_target_mak fi esac case "$target_arch2" in -- 1.7.1