Received: from eggs.gnu.org ([2001:4830:134:3::10]:41903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCg27-0006Rm-TX for qemu-devel@nongnu.org; Thu, 22 Aug 2013 21:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCg1z-0003KY-2q for qemu-devel@nongnu.org; Thu, 22 Aug 2013 21:19:23 -0400 Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:63707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCg1y-0003KI-TP for qemu-devel@nongnu.org; Thu, 22 Aug 2013 21:19:15 -0400 Received: by mail-ee0-f45.google.com with SMTP id c50so6719eek.18 for ; Thu, 22 Aug 2013 18:19:14 -0700 (PDT) Sender: =?UTF-8?B?w4Frb3MgS292w6Fjcw==?= From: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= Date: Fri, 23 Aug 2013 03:18:51 +0200 Message-Id: <1377220732-24198-3-git-send-email-akoskovacs@gmx.com> In-Reply-To: <1377220732-24198-1-git-send-email-akoskovacs@gmx.com> References: <1377220732-24198-1-git-send-email-akoskovacs@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 2/3] hw/usb/Makefile.objs: Make config options for ohci-pci List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= Create CONFIG_USB_OHCI_PCI and CONFIG_USB_OHCI_SYSBUS configuration options for the new hcd-ohci-pci.c and hcd-ohci-sysbus.c files. Add CONFIG_USB_OHCI_PCI to default-configs/{arm,sh4}-softmmu.mak. Signed-off-by: Ákos Kovács --- default-configs/arm-softmmu.mak | 2 ++ default-configs/sh4-softmmu.mak | 1 + hw/usb/Makefile.objs | 2 ++ 3 files changed, 5 insertions(+) diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index ac0815d..899f560 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -80,3 +80,5 @@ CONFIG_VERSATILE_PCI=y CONFIG_VERSATILE_I2C=y CONFIG_SDHCI=y + +CONFIG_USB_OHCI_SYSBUS=y diff --git a/default-configs/sh4-softmmu.mak b/default-configs/sh4-softmmu.mak index 8e00390..11ed0e3 100644 --- a/default-configs/sh4-softmmu.mak +++ b/default-configs/sh4-softmmu.mak @@ -16,3 +16,4 @@ CONFIG_PCSPK=y CONFIG_I82374=y CONFIG_I8257=y CONFIG_MC146818RTC=y +CONFIG_USB_OHCI_SYSBUS=y diff --git a/hw/usb/Makefile.objs b/hw/usb/Makefile.objs index f9695e7..2eba141 100644 --- a/hw/usb/Makefile.objs +++ b/hw/usb/Makefile.objs @@ -5,6 +5,8 @@ common-obj-y += libhw.o # usb host adapters common-obj-$(CONFIG_USB_UHCI) += hcd-uhci.o common-obj-$(CONFIG_USB_OHCI) += hcd-ohci.o +common-obj-$(CONFIG_USB_OHCI_SYSBUS) += hcd-ohci-sysbus.o +common-obj-$(CONFIG_USB_OHCI_PCI) += hcd-ohci-pci.o common-obj-$(CONFIG_USB_EHCI) += hcd-ehci.o hcd-ehci-pci.o hcd-ehci-sysbus.o common-obj-$(CONFIG_USB_XHCI) += hcd-xhci.o common-obj-$(CONFIG_USB_MUSB) += hcd-musb.o -- 1.7.10.4