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