From patchwork Sun Nov 28 15:59:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 73340 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B0E8EB70A3 for ; Mon, 29 Nov 2010 03:02:06 +1100 (EST) Received: from localhost ([127.0.0.1]:53362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMjhT-00056H-13 for incoming@patchwork.ozlabs.org; Sun, 28 Nov 2010 11:02:03 -0500 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 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: qemu-devel X-Enigmail-Version: 1.1.2 X-Sender: jan.kiszka@web.de X-Provags-ID: V01U2FsdGVkX19bOT/I4gQce7UXzBRYBklQ5q5mVdwOeQ6oWIK2 aocSp9ro2IRZ1UxU3+wayfOlxEGtFkCn6cse8S/2v1nzKZgRId ZlquggOu0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 Subject: [Qemu-devel] [PATCH] xen: Restrict build to x86 targets X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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