From patchwork Thu Aug 20 23:37:05 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 31788 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 5447FB7B97 for ; Fri, 21 Aug 2009 09:49:33 +1000 (EST) Received: from localhost ([127.0.0.1]:51760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeHNp-00078E-Gt for incoming@patchwork.ozlabs.org; Thu, 20 Aug 2009 19:49:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeHEN-00039e-77 for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeHEH-00034P-4U for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:42 -0400 Received: from [199.232.76.173] (port=39424 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeHEG-000344-I5 for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15778) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MeHEF-0006Gn-SY for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:36 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7KNdZpu028057 for ; Thu, 20 Aug 2009 19:39:35 -0400 Received: from localhost.localdomain (vpn1-4-148.ams2.redhat.com [10.36.4.148]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7KNdQqn026026; Thu, 20 Aug 2009 19:39:34 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Fri, 21 Aug 2009 01:37:05 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 06/14] configure sd flash only for arm softmmu 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 | 2 +- configure | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 4a9fc0c..5d42cda 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,6 @@ 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 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 @@ -90,6 +89,7 @@ obj-y += qemu-char.o aio.o net-checksum.o savevm.o obj-y += msmouse.o ps2.o obj-y += qdev.o qdev-properties.o +obj-$(CONFIG_SD_FLASH) += sd.o obj-$(CONFIG_SPITZ) += max7310.o wm8750.o obj-$(CONFIG_NSERIES) += twl92230.o tmp105.o lm832x.o tsc2005.o obj-$(CONFIG_STELLARIS) += stellaris_input.o ssd0303.o diff --git a/configure b/configure index 3e23ea6..96849ce 100755 --- a/configure +++ b/configure @@ -1818,6 +1818,7 @@ ssi_bus=no stellaris=no nseries=no spitz=no +sd_flash=no for target in $target_list; do target_dir="$target" @@ -2047,6 +2048,7 @@ if test "$target_softmmu" = "yes" ; then stellaris=yes nseries=yes spitz=yes + sd_flash=yes ;; esac fi @@ -2254,6 +2256,10 @@ if test "$spitz" = "yes" ; then echo "CONFIG_SPITZ=y" >> $config_host_mak fi +if test "$sd_flash" = "yes" ; then + echo "CONFIG_SD_FLASH=y" >> $config_host_mak +fi + echo "/* Automatically generated by configure - do not modify */" > $config_host_h /bin/sh $source_path/create_config < $config_host_mak >> $config_host_h