From patchwork Thu Aug 27 19:18:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 32305 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 1B29FB7C43 for ; Fri, 28 Aug 2009 06:12:17 +1000 (EST) Received: from localhost ([127.0.0.1]:57962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MglKM-0000ug-Ks for incoming@patchwork.ozlabs.org; Thu, 27 Aug 2009 16:12:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgkWz-0005ub-Hr for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:21:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgkWu-0005mX-8R for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:21:08 -0400 Received: from [199.232.76.173] (port=54435 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgkWt-0005lt-Ur for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:21:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54388) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgkWt-00069B-6s for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:21:03 -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 n7RJL2vn002918 for ; Thu, 27 Aug 2009 15:21:02 -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 n7RJKR0Q028641; Thu, 27 Aug 2009 15:21:01 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Thu, 27 Aug 2009 21:18:03 +0200 Message-Id: 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 28/30] Only compile max111x 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 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index e16282b..89e217f 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,8 @@ obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o obj-$(CONFIG_SSD0303) += ssd0303.o obj-$(CONFIG_SSD0323) += ssd0323.o obj-$(CONFIG_ADS7846) += ads7846.o -obj-y += i2c.o smbus.o smbus_eeprom.o max111x.o +obj-$(CONFIG_MAX111X) += max111x.o +obj-y += i2c.o smbus.o smbus_eeprom.o obj-y += eeprom93xx.o obj-y += scsi-disk.o cdrom.o obj-y += scsi-generic.o diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index f68273d..486409d 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -17,3 +17,4 @@ CONFIG_STELLARIS_INPUT=y CONFIG_SD0303=y CONFIG_SD0323=y CONFIG_ADS7846=y +CONFIG_MAX111X=y