From patchwork Thu Aug 27 19:17:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 32294 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 3BFB0B7BB1 for ; Fri, 28 Aug 2009 05:49:33 +1000 (EST) Received: from localhost ([127.0.0.1]:57140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgkyQ-0008II-1m for incoming@patchwork.ozlabs.org; Thu, 27 Aug 2009 15:49:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgkWm-0005eI-Cd 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 1MgkWh-0005YK-FS for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:55 -0400 Received: from [199.232.76.173] (port=54419 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgkWh-0005YA-5W for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36807) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgkWg-00065X-Fr for qemu-devel@nongnu.org; Thu, 27 Aug 2009 15:20:50 -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 n7RJKnhv006971 for ; Thu, 27 Aug 2009 15:20:49 -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 n7RJKR0F028641; Thu, 27 Aug 2009 15:20:48 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Thu, 27 Aug 2009 21:17:52 +0200 Message-Id: <6a9b2a5f1186fd9a77db792dcc55b9472d0b9933.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 17/30] Only compile sd 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 44b88c6..3e32220 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,8 @@ obj-y += scsi-disk.o cdrom.o obj-y += scsi-generic.o obj-y += usb.o usb-hub.o usb-$(HOST_USB).o usb-hid.o usb-msd.o usb-wacom.o obj-y += usb-serial.o usb-net.o -obj-y += sd.o ssi-sd.o +obj-y += ssi-sd.o +obj-$(CONFIG_SD) += sd.o obj-y += bt.o bt-host.o bt-vhci.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o usb-bt.o obj-y += bt-hci-csr.o obj-y += buffered_file.o migration.o migration-tcp.o net.o qemu-sockets.o diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index 05b4b14..52b2dfa 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -6,3 +6,4 @@ CONFIG_ISA_MMIO=y CONFIG_NAND=y CONFIG_ECC=y CONFIG_PTIMER=y +CONFIG_SD=y