From patchwork Fri Aug 28 18:56:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 32448 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 256F7B70C4 for ; Sat, 29 Aug 2009 06:10:00 +1000 (EST) Received: from localhost ([127.0.0.1]:36648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh7lk-0001aS-Mj for incoming@patchwork.ozlabs.org; Fri, 28 Aug 2009 16:09:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh6g3-0003Lf-1U for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:59:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh6fx-00039z-2w for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:59:57 -0400 Received: from [199.232.76.173] (port=43281 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh6fw-00039g-P0 for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:59:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23127) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh6fw-0007fK-3J for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:59:52 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7SIxoJO032632; Fri, 28 Aug 2009 14:59:50 -0400 Received: from localhost.localdomain (vpn2-8-222.ams2.redhat.com [10.36.8.222]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7SIxTPq029889; Fri, 28 Aug 2009 14:59:49 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Fri, 28 Aug 2009 20:56:48 +0200 Message-Id: <76dd646fbf18823e688b43fbd4ca74d40b99e4de.1251485646.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 13/30] Only compile esp when one target uses it 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 Signed-off-by: Juan Quintela --- Makefile.hw | 3 ++- default-configs/mips-softmmu.mak | 1 + default-configs/mips64-softmmu.mak | 1 + default-configs/mips64el-softmmu.mak | 1 + default-configs/mipsel-softmmu.mak | 1 + default-configs/sparc64-softmmu.mak | 1 + 6 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Makefile.hw b/Makefile.hw index 402c26d..af0704f 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -21,7 +21,8 @@ obj-$(CONFIG_NAND) += nand.o obj-y += m48t59.o escc.o # SCSI layer -obj-y += lsi53c895a.o esp.o +obj-y += lsi53c895a.o +obj-$(CONFIG_ESP) += esp.o obj-y += dma-helpers.o sysbus.o obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o diff --git a/default-configs/mips-softmmu.mak b/default-configs/mips-softmmu.mak index 0b5bb0d..b452b9a 100644 --- a/default-configs/mips-softmmu.mak +++ b/default-configs/mips-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for mips-softmmu CONFIG_ISA_MMIO=y +CONFIG_ESP=y diff --git a/default-configs/mips64-softmmu.mak b/default-configs/mips64-softmmu.mak index de64165..2896675 100644 --- a/default-configs/mips64-softmmu.mak +++ b/default-configs/mips64-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for mips64-softmmu CONFIG_ISA_MMIO=y +CONFIG_ESP=y diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak index eb1bdc3..7fbd9a3 100644 --- a/default-configs/mips64el-softmmu.mak +++ b/default-configs/mips64el-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for mips64el-softmmu CONFIG_ISA_MMIO=y +CONFIG_ESP=y diff --git a/default-configs/mipsel-softmmu.mak b/default-configs/mipsel-softmmu.mak index 6ace424..9e02e93 100644 --- a/default-configs/mipsel-softmmu.mak +++ b/default-configs/mipsel-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for mipsel-softmmu CONFIG_ISA_MMIO=y +CONFIG_ESP=y diff --git a/default-configs/sparc64-softmmu.mak b/default-configs/sparc64-softmmu.mak index aaccf0b..251f723 100644 --- a/default-configs/sparc64-softmmu.mak +++ b/default-configs/sparc64-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for sparc64-softmmu CONFIG_ISA_MMIO=y +CONFIG_ESP=y