From patchwork Thu Aug 27 19:17:45 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 32286 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 17766B7BB0 for ; Fri, 28 Aug 2009 05:36:08 +1000 (EST) Received: from localhost ([127.0.0.1]:56567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgklR-0002QB-6O for incoming@patchwork.ozlabs.org; Thu, 27 Aug 2009 15:36:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgkWd-0005Tk-DM for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgkWY-0005OR-K8 for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:46 -0400 Received: from [199.232.76.173] (port=54411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgkWY-0005Nx-8x for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59751) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgkWX-00062c-QB for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:42 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7RJKfml002609 for ; Thu, 27 Aug 2009 15:20:41 -0400 Received: from localhost.localdomain (vpn2-8-219.ams2.redhat.com [10.36.8.219]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7RJKR08028641; Thu, 27 Aug 2009 15:20:40 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Thu, 27 Aug 2009 21:17:45 +0200 Message-Id: <9d5389d5b571d696de76329d055bbb441082fcbc.1251399960.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 10/30] Only compile qdev_addr 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/sparc-softmmu.mak | 2 ++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Makefile.hw b/Makefile.hw index b48d1af..7f3a56a 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -22,7 +22,8 @@ obj-y += m48t59.o escc.o # SCSI layer obj-y += lsi53c895a.o esp.o -obj-y += dma-helpers.o sysbus.o qdev-addr.o +obj-y += dma-helpers.o sysbus.o +obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o all: $(HWLIB) # Dummy command so that make thinks it has done something diff --git a/default-configs/sparc-softmmu.mak b/default-configs/sparc-softmmu.mak index 2e0e621..dc51839 100644 --- a/default-configs/sparc-softmmu.mak +++ b/default-configs/sparc-softmmu.mak @@ -1 +1,3 @@ # Default configuration for sparc-softmmu + +CONFIG_QDEV_ADDR=y