From patchwork Fri Aug 28 18:56: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: 32452 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 78FE7B70B3 for ; Sat, 29 Aug 2009 06:16:51 +1000 (EST) Received: from localhost ([127.0.0.1]:55211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh7sO-00078v-FD for incoming@patchwork.ozlabs.org; Fri, 28 Aug 2009 16:16:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh6g5-0003P5-Ll for qemu-devel@nongnu.org; Fri, 28 Aug 2009 15:00:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh6g1-0003Fz-Gp for qemu-devel@nongnu.org; Fri, 28 Aug 2009 15:00:01 -0400 Received: from [199.232.76.173] (port=43284 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh6g0-0003Fn-5T for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:59:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9626) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh6fz-0007g3-Jg for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:59:55 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7SIxsBm030397; Fri, 28 Aug 2009 14:59:54 -0400 Received: from localhost.localdomain (vpn2-8-222.ams2.redhat.com [10.36.8.222]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7SIxTPt029889; Fri, 28 Aug 2009 14:59:53 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Fri, 28 Aug 2009 20:56:51 +0200 Message-Id: <3e7429e3f5de43157131d8890821619ddee122ff.1251485646.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: aliguori@us.ibm.com 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 d0e7ec9..4b58378 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,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