189d48367SSimon Glass# 289d48367SSimon Glass# Copyright (c) 2011 The Chromium OS Authors. 389d48367SSimon Glass# See file CREDITS for list of people who contributed to this 489d48367SSimon Glass# project. 589d48367SSimon Glass# 689d48367SSimon Glass# This program is free software; you can redistribute it and/or 789d48367SSimon Glass# modify it under the terms of the GNU General Public License as 889d48367SSimon Glass# published by the Free Software Foundation; either version 2 of 989d48367SSimon Glass# the License, or (at your option) any later version. 1089d48367SSimon Glass# 1189d48367SSimon Glass# This program is distributed in the hope that it will be useful, 1289d48367SSimon Glass# but WITHOUT ANY WARRANTY; without even the implied warranty of 1389d48367SSimon Glass# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1489d48367SSimon Glass# GNU General Public License for more details. 1589d48367SSimon Glass# 1689d48367SSimon Glass# You should have received a copy of the GNU General Public License 1789d48367SSimon Glass# along with this program; if not, write to the Free Software 1889d48367SSimon Glass# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 1989d48367SSimon Glass# MA 02111-1307 USA 2089d48367SSimon Glass# 2189d48367SSimon Glass 2289d48367SSimon Glassinclude $(TOPDIR)/config.mk 2389d48367SSimon Glass 2489d48367SSimon GlassLIB := $(obj)libusb_eth.a 2589d48367SSimon Glass 2689d48367SSimon Glass# new USB host ethernet layer dependencies 2789d48367SSimon GlassCOBJS-$(CONFIG_USB_HOST_ETHER) += usb_ether.o 28*9b70e007SSimon Glassifdef CONFIG_USB_ETHER_ASIX 29*9b70e007SSimon GlassCOBJS-y += asix.o 30*9b70e007SSimon Glassendif 3189d48367SSimon Glass 3289d48367SSimon GlassCOBJS := $(COBJS-y) 3389d48367SSimon GlassSRCS := $(COBJS:.o=.c) 3489d48367SSimon GlassOBJS := $(addprefix $(obj),$(COBJS)) 3589d48367SSimon Glass 3689d48367SSimon Glassall: $(LIB) 3789d48367SSimon Glass 3889d48367SSimon Glass$(LIB): $(obj).depend $(OBJS) 3989d48367SSimon Glass $(AR) $(ARFLAGS) $@ $(OBJS) 4089d48367SSimon Glass 4189d48367SSimon Glass######################################################################### 4289d48367SSimon Glass 4389d48367SSimon Glass# defines $(obj).depend target 4489d48367SSimon Glassinclude $(SRCTREE)/rules.mk 4589d48367SSimon Glass 4689d48367SSimon Glasssinclude $(obj).depend 4789d48367SSimon Glass 4889d48367SSimon Glass######################################################################### 49