From patchwork Thu Aug 27 19:17:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 32293 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 34439B7BB3 for ; Fri, 28 Aug 2009 05:47:49 +1000 (EST) Received: from localhost ([127.0.0.1]:54793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mgkwi-0007VE-Lt for incoming@patchwork.ozlabs.org; Thu, 27 Aug 2009 15:47:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgkWm-0005dx-3P for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgkWg-0005XP-MC for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:54 -0400 Received: from [199.232.76.173] (port=54418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgkWg-0005X0-9b for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38712) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgkWf-00064u-7K for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:49 -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 n7RJKmYS028308 for ; Thu, 27 Aug 2009 15:20:48 -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 n7RJKR0E028641; Thu, 27 Aug 2009 15:20:47 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Thu, 27 Aug 2009 21:17:51 +0200 Message-Id: <6568049a6accfcf4c72de89ad49c78db52db9a89.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 16/30] Only compile ptimer 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 | 3 ++- default-configs/arm-softmmu.mak | 1 + default-configs/sparc-softmmu.mak | 1 + default-configs/sparc64-softmmu.mak | 1 + 4 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index acca106..44b88c6 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,8 @@ block-obj-y += $(addprefix block/, $(block-nested-y)) obj-y = $(block-obj-y) obj-y += readline.o console.o host-utils.o -obj-y += irq.o ptimer.o +obj-y += irq.o +obj-$(CONFIG_PTIMER) += ptimer.o obj-y += i2c.o smbus.o smbus_eeprom.o max7310.o max111x.o wm8750.o obj-y += ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o obj-y += tmp105.o lm832x.o eeprom93xx.o tsc2005.o diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index 9ac6f31..05b4b14 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -5,3 +5,4 @@ CONFIG_USB_OHCI=y CONFIG_ISA_MMIO=y CONFIG_NAND=y CONFIG_ECC=y +CONFIG_PTIMER=y diff --git a/default-configs/sparc-softmmu.mak b/default-configs/sparc-softmmu.mak index 0bc6ff3..ce21256 100644 --- a/default-configs/sparc-softmmu.mak +++ b/default-configs/sparc-softmmu.mak @@ -4,3 +4,4 @@ CONFIG_QDEV_ADDR=y CONFIG_ECC=y CONFIG_ESCC=y CONFIG_M48T59=y +CONFIG_PTIMER=y diff --git a/default-configs/sparc64-softmmu.mak b/default-configs/sparc64-softmmu.mak index 06529cd..232140f 100644 --- a/default-configs/sparc64-softmmu.mak +++ b/default-configs/sparc64-softmmu.mak @@ -3,3 +3,4 @@ CONFIG_ISA_MMIO=y CONFIG_ESP=y CONFIG_M48T59=y +CONFIG_PTIMER=y