From patchwork Thu Aug 20 23:37:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 31792 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 B881AB7BB0 for ; Fri, 21 Aug 2009 09:56:20 +1000 (EST) Received: from localhost ([127.0.0.1]:34124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeHUQ-0001vs-2r for incoming@patchwork.ozlabs.org; Thu, 20 Aug 2009 19:56:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeHEQ-0003Bq-EA for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeHEM-00038O-6S for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:45 -0400 Received: from [199.232.76.173] (port=39428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeHEL-00037z-5i for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1026) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MeHEK-0006Hn-HJ for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:40 -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 n7KNddg1024352 for ; Thu, 20 Aug 2009 19:39:39 -0400 Received: from localhost.localdomain (vpn1-4-148.ams2.redhat.com [10.36.4.148]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7KNdQqr026026; Thu, 20 Aug 2009 19:39:38 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Fri, 21 Aug 2009 01:37:09 +0200 Message-Id: <7c2149f2f71ea25bd797b8ab1608cabac9be53db.1250810973.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 10/14] configure esp only for mips_jazz and sparc 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 | 3 ++- configure | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/Makefile.hw b/Makefile.hw index 6299a6e..a470270 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -19,7 +19,8 @@ obj-$(CONFIG_M48T59) += m48t59.o obj-$(CONFIG_ESCC) += 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 qdev-addr.o diff --git a/configure b/configure index 7e8f3ee..ffdd612 100755 --- a/configure +++ b/configure @@ -1822,6 +1822,7 @@ sd_flash=no ptimer=no m48t59=no escc=no +esp=no for target in $target_list; do target_dir="$target" @@ -2061,11 +2062,15 @@ if test "$target_softmmu" = "yes" ; then ;; sparc64) m48t59=yes + esp=yes ;; ppc*) m48t59=yes escc=yes ;; + mips*) + esp=yes + ;; esac fi if test "$target_user_only" = "yes" ; then @@ -2287,6 +2292,11 @@ fi if test "$escc" = "yes" ; then echo "CONFIG_ESCC=y" >> $config_host_mak fi + +if test "$esp" = "yes" ; then + echo "CONFIG_ESP=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