From patchwork Mon Aug 24 11:29:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 31934 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 DD8C5B70C4 for ; Mon, 24 Aug 2009 22:18:17 +1000 (EST) Received: from localhost ([127.0.0.1]:57702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfYV3-00067n-FR for incoming@patchwork.ozlabs.org; Mon, 24 Aug 2009 08:18:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfXnX-00006k-Aa for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:33:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfXnP-0008SO-Hr for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:33:12 -0400 Received: from [199.232.76.173] (port=54724 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfXnO-0008Rl-H6 for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:33:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44333) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfXnN-0003iA-Tq for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:33:06 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7OBX55m031383 for ; Mon, 24 Aug 2009 07:33:05 -0400 Received: from localhost.localdomain (vpn2-8-191.ams2.redhat.com [10.36.8.191]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7OBW6Ka013895; Mon, 24 Aug 2009 07:33:04 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 24 Aug 2009 13:29:40 +0200 Message-Id: <5f5e452553fc6dee9d783bdf5807b2d685817caf.1251113142.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 09/15] configure escc only for sparc and ppc softmmu 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 | 2 +- configure | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Makefile.hw b/Makefile.hw index d8da814..6299a6e 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -16,7 +16,7 @@ obj-y += fw_cfg.o obj-y += watchdog.o obj-y += nand.o ecc.o obj-$(CONFIG_M48T59) += m48t59.o -obj-y += escc.o +obj-$(CONFIG_ESCC) += escc.o # SCSI layer obj-y += lsi53c895a.o esp.o diff --git a/configure b/configure index 5757368..b4155be 100755 --- a/configure +++ b/configure @@ -1821,6 +1821,7 @@ spitz=no sd_flash=no ptimer=no m48t59=no +escc=no for target in $target_list; do target_dir="$target" @@ -2056,6 +2057,7 @@ if test "$target_softmmu" = "yes" ; then sparc) ptimer=yes m48t59=yes + escc=yes ;; sparc64) ptimer=yes @@ -2063,6 +2065,7 @@ if test "$target_softmmu" = "yes" ; then ;; ppc*) m48t59=yes + escc=yes ;; esac fi @@ -2282,6 +2285,9 @@ if test "$m48t59" = "yes" ; then echo "CONFIG_M48T59=y" >> $config_host_mak fi +if test "$escc" = "yes" ; then + echo "CONFIG_ESCC=y" >> $config_host_mak +fi echo "/* Automatically generated by configure - do not modify */" > $config_host_h /bin/sh $source_path/create_config < $config_host_mak >> $config_host_h