From patchwork Mon Aug 24 11:29:44 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 31937 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 D58E8B70C4 for ; Mon, 24 Aug 2009 22:24:28 +1000 (EST) Received: from localhost ([127.0.0.1]:38565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfYb2-0004PC-0B for incoming@patchwork.ozlabs.org; Mon, 24 Aug 2009 08:24:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfXna-000097-2g for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:33:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfXnT-0008VD-MA for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:33:16 -0400 Received: from [199.232.76.173] (port=54728 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfXnT-0008Uy-1D for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:33:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41726) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfXnS-0003j2-ED for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:33:10 -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 n7OBX9dD024927 for ; Mon, 24 Aug 2009 07:33:09 -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 n7OBW6Ke013895; Mon, 24 Aug 2009 07:33:08 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 24 Aug 2009 13:29:44 +0200 Message-Id: <7ff0e640f978d5180b5c08d2ba2e2111265235ea.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 13/15] configure qdev-addr.o only for 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 | 4 ++-- configure | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.hw b/Makefile.hw index 7be5e5b..cd5fb92 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -23,8 +23,8 @@ obj-$(CONFIG_ESCC) += escc.o obj-y += lsi53c895a.o obj-$(CONFIG_ESP) += esp.o -obj-y += dma-helpers.o sysbus.o qdev-addr.o - +obj-y += dma-helpers.o sysbus.o +obj-$(CONFIG_TADDR) += qdev-addr.o all: $(HWLIB) # Dummy command so that make thinks it has done something @true diff --git a/configure b/configure index c370d83..a846428 100755 --- a/configure +++ b/configure @@ -1825,6 +1825,7 @@ escc=no esp=no ecc_flash=no nand=no +taddr=no for target in $target_list; do target_dir="$target" @@ -2064,6 +2065,7 @@ if test "$target_softmmu" = "yes" ; then m48t59=yes escc=yes ecc_flash=yes + taddr=yes ;; sparc64) ptimer=yes @@ -2314,6 +2316,10 @@ if test "$nand" = "yes" ; then echo "CONFIG_NAND=y" >> $config_host_mak fi +if test "$taddr" = "yes" ; then + echo "CONFIG_TADDR=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