2007-11-25 03:40:11 +09:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2007
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-11-25 03:40:11 +09:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 23:48:07 +09:00
|
|
|
LIB := $(obj)libusb_host.o
|
2007-11-25 03:40:11 +09:00
|
|
|
|
2009-04-03 19:46:58 +09:00
|
|
|
# ohci
|
|
|
|
COBJS-$(CONFIG_USB_OHCI_NEW) += ohci-hcd.o
|
|
|
|
COBJS-$(CONFIG_USB_ATMEL) += ohci-at91.o
|
2012-08-09 19:45:20 +09:00
|
|
|
COBJS-$(CONFIG_USB_OHCI_DA8XX) += ohci-da8xx.o
|
2008-11-08 06:46:21 +09:00
|
|
|
COBJS-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
|
2008-08-11 23:16:25 +09:00
|
|
|
COBJS-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
|
2009-04-03 19:46:58 +09:00
|
|
|
COBJS-$(CONFIG_USB_SL811HS) += sl811-hcd.o
|
2012-07-21 14:02:22 +09:00
|
|
|
COBJS-$(CONFIG_USB_OHCI_S3C24XX) += ohci-s3c24xx.o
|
2009-04-03 19:46:58 +09:00
|
|
|
|
|
|
|
# echi
|
|
|
|
COBJS-$(CONFIG_USB_EHCI) += ehci-hcd.o
|
2012-02-13 12:27:43 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_ARMADA100) += ehci-armada100.o utmi-armada100.o
|
2012-06-28 06:58:20 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_ATMEL) += ehci-atmel.o
|
2010-10-14 22:27:06 +09:00
|
|
|
ifdef CONFIG_MPC512X
|
|
|
|
COBJS-$(CONFIG_USB_EHCI_FSL) += ehci-mpc512x.o
|
|
|
|
else
|
2009-04-03 19:46:58 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_FSL) += ehci-fsl.o
|
2010-10-14 22:27:06 +09:00
|
|
|
endif
|
2013-05-15 16:29:23 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_FARADAY) += ehci-faraday.o
|
2012-05-21 20:08:03 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
|
2010-10-06 16:00:01 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_MXC) += ehci-mxc.o
|
2011-11-09 08:18:26 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_MXS) += ehci-mxs.o
|
2011-11-11 22:03:36 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_MX5) += ehci-mx5.o
|
2012-02-09 07:33:25 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_MX6) += ehci-mx6.o
|
2012-02-06 12:55:33 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_OMAP) += ehci-omap.o
|
2010-01-07 06:34:05 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_PPC4XX) += ehci-ppc4xx.o
|
2009-04-03 19:46:58 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_IXP4XX) += ehci-ixp.o
|
2012-02-07 00:09:29 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_MARVELL) += ehci-marvell.o
|
2009-04-03 19:46:58 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
|
2012-12-17 17:48:55 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_SPEAR) += ehci-spear.o
|
2012-02-27 19:52:49 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o
|
2009-04-03 19:46:58 +09:00
|
|
|
COBJS-$(CONFIG_USB_EHCI_VCT) += ehci-vct.o
|
2007-11-25 03:40:11 +09:00
|
|
|
|
2013-09-14 17:32:45 +09:00
|
|
|
# xhci
|
|
|
|
COBJS-$(CONFIG_USB_XHCI) += xhci.o xhci-mem.o xhci-ring.o
|
2013-09-14 17:32:46 +09:00
|
|
|
COBJS-$(CONFIG_USB_XHCI_EXYNOS) += xhci-exynos5.o
|
2013-08-26 22:54:52 +09:00
|
|
|
COBJS-$(CONFIG_USB_XHCI_OMAP) += xhci-omap.o
|
2013-09-14 17:32:45 +09:00
|
|
|
|
2007-11-25 03:40:11 +09:00
|
|
|
COBJS := $(COBJS-y)
|
2008-05-20 23:00:29 +09:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
2007-11-25 03:40:11 +09:00
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 23:48:07 +09:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2007-11-25 03:40:11 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|