blob: aa2126dcb01f083f72e4c8b1ae82c2b4e5a15b44 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +01001#
2# (C) Copyright 2000-2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +01006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010010LIB := $(obj)libusb_musb.o
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +010011
Thomas Abrahama1428962009-01-04 09:41:03 +053012COBJS-$(CONFIG_MUSB_HCD) += musb_hcd.o musb_core.o
Tom Rixf298e4b2009-10-31 12:37:41 -050013COBJS-$(CONFIG_MUSB_UDC) += musb_udc.o musb_core.o
Bryan Wue608f222009-12-16 22:04:02 -050014COBJS-$(CONFIG_USB_BLACKFIN) += blackfin_usb.o
Jean-Christophe PLAGNIOL-VILLARD2731b9a2009-04-03 12:46:58 +020015COBJS-$(CONFIG_USB_DAVINCI) += davinci.o
Tom Rixf298e4b2009-10-31 12:37:41 -050016COBJS-$(CONFIG_USB_OMAP3) += omap3.o
Ajay Kumar Gupta73592732009-12-22 10:56:13 +053017COBJS-$(CONFIG_USB_DA8XX) += da8xx.o
Ajay Kumar Guptadbea3242010-07-09 11:43:48 +053018COBJS-$(CONFIG_USB_AM35X) += am35x.o
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +010019
20COBJS := $(COBJS-y)
Wolfgang Denk53677ef2008-05-20 16:00:29 +020021SRCS := $(COBJS:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS))
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +010023
24all: $(LIB)
25
26$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010027 $(call cmd_link_o_target, $(OBJS))
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +010028
29#########################################################################
30
31# defines $(obj).depend target
32include $(SRCTREE)/rules.mk
33
34sinclude $(obj).depend
35
36#########################################################################