From patchwork Wed Oct 7 00:41: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: 35199 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 ozlabs.org (Postfix) with ESMTPS id 559A2B70B3 for ; Wed, 7 Oct 2009 12:16:26 +1100 (EST) Received: from localhost ([127.0.0.1]:35749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvL8f-0000da-0k for incoming@patchwork.ozlabs.org; Tue, 06 Oct 2009 21:16:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvKbV-0006WN-SG for qemu-devel@nongnu.org; Tue, 06 Oct 2009 20:42:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvKbO-0006S3-JQ for qemu-devel@nongnu.org; Tue, 06 Oct 2009 20:42:03 -0400 Received: from [199.232.76.173] (port=60245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvKbO-0006Rg-9T for qemu-devel@nongnu.org; Tue, 06 Oct 2009 20:41:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60100) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvKbN-0000DS-NU for qemu-devel@nongnu.org; Tue, 06 Oct 2009 20:41:58 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n970fufd008440 for ; Tue, 6 Oct 2009 20:41:57 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n970fiGW022901; Tue, 6 Oct 2009 20:41:55 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 7 Oct 2009 02:41:05 +0200 Message-Id: <2e738a82a9252f2b7d39c67f006664b28cecd88b.1254875337.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 09/31] Only compile usb_ohci 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.target | 2 +- default-configs/arm-softmmu.mak | 1 + default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 1 + default-configs/ppcemb-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 2 ++ default-configs/sh4eb-softmmu.mak | 2 ++ 7 files changed, 9 insertions(+), 1 deletions(-) diff --git a/Makefile.target b/Makefile.target index debe0e4..7a21164 100644 --- a/Makefile.target +++ b/Makefile.target @@ -180,7 +180,7 @@ QEMU_CFLAGS += $(VNC_SASL_CFLAGS) obj-$(CONFIG_XEN) += xen_machine_pv.o xen_domainbuild.o # USB layer -obj-y += usb-ohci.o +obj-$(CONFIG_USB_OHCI) += usb-ohci.o # PCI network cards obj-y += eepro100.o diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index 2786138..15e4373 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for arm-softmmu CONFIG_GDBSTUB_XML=y +CONFIG_USB_OHCI=y diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak index d28171b..cc4b83a 100644 --- a/default-configs/ppc-softmmu.mak +++ b/default-configs/ppc-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for ppc-softmmu CONFIG_GDBSTUB_XML=y +CONFIG_USB_OHCI=y diff --git a/default-configs/ppc64-softmmu.mak b/default-configs/ppc64-softmmu.mak index fe66524..a4d08ff 100644 --- a/default-configs/ppc64-softmmu.mak +++ b/default-configs/ppc64-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for ppc64-softmmu CONFIG_GDBSTUB_XML=y +CONFIG_USB_OHCI=y diff --git a/default-configs/ppcemb-softmmu.mak b/default-configs/ppcemb-softmmu.mak index bff13e6..19ea261 100644 --- a/default-configs/ppcemb-softmmu.mak +++ b/default-configs/ppcemb-softmmu.mak @@ -1,3 +1,4 @@ # Default configuration for ppcemb-softmmu CONFIG_GDBSTUB_XML=y +CONFIG_USB_OHCI=y diff --git a/default-configs/sh4-softmmu.mak b/default-configs/sh4-softmmu.mak index 4466835..9c2445b 100644 --- a/default-configs/sh4-softmmu.mak +++ b/default-configs/sh4-softmmu.mak @@ -1 +1,3 @@ # Default configuration for sh4-softmmu + +CONFIG_USB_OHCI=y diff --git a/default-configs/sh4eb-softmmu.mak b/default-configs/sh4eb-softmmu.mak index 2f60e53..fa54f10 100644 --- a/default-configs/sh4eb-softmmu.mak +++ b/default-configs/sh4eb-softmmu.mak @@ -1 +1,3 @@ # Default configuration for sh4eb-softmmu + +CONFIG_USB_OHCI=y