xref: /openbmc/u-boot/drivers/usb/musb/Makefile (revision e608f221)
12731b9a8SJean-Christophe PLAGNIOL-VILLARD#
22731b9a8SJean-Christophe PLAGNIOL-VILLARD# (C) Copyright 2000-2007
32731b9a8SJean-Christophe PLAGNIOL-VILLARD# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
42731b9a8SJean-Christophe PLAGNIOL-VILLARD#
52731b9a8SJean-Christophe PLAGNIOL-VILLARD# See file CREDITS for list of people who contributed to this
62731b9a8SJean-Christophe PLAGNIOL-VILLARD# project.
72731b9a8SJean-Christophe PLAGNIOL-VILLARD#
82731b9a8SJean-Christophe PLAGNIOL-VILLARD# This program is free software; you can redistribute it and/or
92731b9a8SJean-Christophe PLAGNIOL-VILLARD# modify it under the terms of the GNU General Public License as
102731b9a8SJean-Christophe PLAGNIOL-VILLARD# published by the Free Software Foundation; either version 2 of
112731b9a8SJean-Christophe PLAGNIOL-VILLARD# the License, or (at your option) any later version.
122731b9a8SJean-Christophe PLAGNIOL-VILLARD#
132731b9a8SJean-Christophe PLAGNIOL-VILLARD# This program is distributed in the hope that it will be useful,
142731b9a8SJean-Christophe PLAGNIOL-VILLARD# but WITHOUT ANY WARRANTY; without even the implied warranty of
152731b9a8SJean-Christophe PLAGNIOL-VILLARD# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
162731b9a8SJean-Christophe PLAGNIOL-VILLARD# GNU General Public License for more details.
172731b9a8SJean-Christophe PLAGNIOL-VILLARD#
182731b9a8SJean-Christophe PLAGNIOL-VILLARD# You should have received a copy of the GNU General Public License
192731b9a8SJean-Christophe PLAGNIOL-VILLARD# along with this program; if not, write to the Free Software
202731b9a8SJean-Christophe PLAGNIOL-VILLARD# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
212731b9a8SJean-Christophe PLAGNIOL-VILLARD# MA 02111-1307 USA
222731b9a8SJean-Christophe PLAGNIOL-VILLARD#
232731b9a8SJean-Christophe PLAGNIOL-VILLARD
242731b9a8SJean-Christophe PLAGNIOL-VILLARDinclude $(TOPDIR)/config.mk
252731b9a8SJean-Christophe PLAGNIOL-VILLARD
262731b9a8SJean-Christophe PLAGNIOL-VILLARDLIB	:= $(obj)libusb_musb.a
272731b9a8SJean-Christophe PLAGNIOL-VILLARD
282731b9a8SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_MUSB_HCD) += musb_hcd.o musb_core.o
29f298e4b6STom RixCOBJS-$(CONFIG_MUSB_UDC) += musb_udc.o musb_core.o
30*e608f221SBryan WuCOBJS-$(CONFIG_USB_BLACKFIN) += blackfin_usb.o
312731b9a8SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_USB_DAVINCI) += davinci.o
32f298e4b6STom RixCOBJS-$(CONFIG_USB_OMAP3) += omap3.o
337359273dSAjay Kumar GuptaCOBJS-$(CONFIG_USB_DA8XX) += da8xx.o
342731b9a8SJean-Christophe PLAGNIOL-VILLARD
352731b9a8SJean-Christophe PLAGNIOL-VILLARDCOBJS	:= $(COBJS-y)
362731b9a8SJean-Christophe PLAGNIOL-VILLARDSRCS	:= $(COBJS:.o=.c)
372731b9a8SJean-Christophe PLAGNIOL-VILLARDOBJS	:= $(addprefix $(obj),$(COBJS))
382731b9a8SJean-Christophe PLAGNIOL-VILLARD
392731b9a8SJean-Christophe PLAGNIOL-VILLARDall:	$(LIB)
402731b9a8SJean-Christophe PLAGNIOL-VILLARD
412731b9a8SJean-Christophe PLAGNIOL-VILLARD$(LIB):	$(obj).depend $(OBJS)
422731b9a8SJean-Christophe PLAGNIOL-VILLARD	$(AR) $(ARFLAGS) $@ $(OBJS)
432731b9a8SJean-Christophe PLAGNIOL-VILLARD
442731b9a8SJean-Christophe PLAGNIOL-VILLARD#########################################################################
452731b9a8SJean-Christophe PLAGNIOL-VILLARD
462731b9a8SJean-Christophe PLAGNIOL-VILLARD# defines $(obj).depend target
472731b9a8SJean-Christophe PLAGNIOL-VILLARDinclude $(SRCTREE)/rules.mk
482731b9a8SJean-Christophe PLAGNIOL-VILLARD
492731b9a8SJean-Christophe PLAGNIOL-VILLARDsinclude $(obj).depend
502731b9a8SJean-Christophe PLAGNIOL-VILLARD
512731b9a8SJean-Christophe PLAGNIOL-VILLARD#########################################################################
52