From patchwork Wed Oct 7 00:41:11 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 35205 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 2D9E3B7B9E for ; Wed, 7 Oct 2009 12:26:48 +1100 (EST) Received: from localhost ([127.0.0.1]:46950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvLIj-0006xS-8n for incoming@patchwork.ozlabs.org; Tue, 06 Oct 2009 21:26:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvKbd-0006bK-OA for qemu-devel@nongnu.org; Tue, 06 Oct 2009 20:42:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvKbW-0006Wf-DD for qemu-devel@nongnu.org; Tue, 06 Oct 2009 20:42:10 -0400 Received: from [199.232.76.173] (port=60253 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvKbV-0006WU-Q1 for qemu-devel@nongnu.org; Tue, 06 Oct 2009 20:42:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52009) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvKbV-0000FA-6J for qemu-devel@nongnu.org; Tue, 06 Oct 2009 20:42:05 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n970g36O028949 for ; Tue, 6 Oct 2009 20:42:04 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n970fiGc022901; Tue, 6 Oct 2009 20:42:03 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 7 Oct 2009 02:41:11 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 15/31] Only compile escc 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/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 1 + default-configs/ppcemb-softmmu.mak | 1 + default-configs/sparc-softmmu.mak | 2 ++ 5 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Makefile.hw b/Makefile.hw index 354d889..9e40439 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -19,7 +19,8 @@ obj-y += watchdog.o obj-$(CONFIG_ECC) += ecc.o obj-$(CONFIG_NAND) += nand.o -obj-y += m48t59.o escc.o +obj-y += m48t59.o +obj-$(CONFIG_ESCC) += escc.o # PCI watchdog devices obj-y += wdt_i6300esb.o diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak index 93172b8..783b066 100644 --- a/default-configs/ppc-softmmu.mak +++ b/default-configs/ppc-softmmu.mak @@ -3,3 +3,4 @@ CONFIG_GDBSTUB_XML=y CONFIG_USB_OHCI=y CONFIG_ISA_MMIO=y +CONFIG_ESCC=y diff --git a/default-configs/ppc64-softmmu.mak b/default-configs/ppc64-softmmu.mak index 05eb3b6..e04d2c5 100644 --- a/default-configs/ppc64-softmmu.mak +++ b/default-configs/ppc64-softmmu.mak @@ -3,3 +3,4 @@ CONFIG_GDBSTUB_XML=y CONFIG_USB_OHCI=y CONFIG_ISA_MMIO=y +CONFIG_ESCC=y diff --git a/default-configs/ppcemb-softmmu.mak b/default-configs/ppcemb-softmmu.mak index 4259fcf..9b1ac09 100644 --- a/default-configs/ppcemb-softmmu.mak +++ b/default-configs/ppcemb-softmmu.mak @@ -3,3 +3,4 @@ CONFIG_GDBSTUB_XML=y CONFIG_USB_OHCI=y CONFIG_ISA_MMIO=y +CONFIG_ESCC=y diff --git a/default-configs/sparc-softmmu.mak b/default-configs/sparc-softmmu.mak index efb31bc..bec73af 100644 --- a/default-configs/sparc-softmmu.mak +++ b/default-configs/sparc-softmmu.mak @@ -3,3 +3,5 @@ CONFIG_QDEV_ADDR=y CONFIG_ECC=y CONFIG_ESP=y +CONFIG_ESCC=y +