xref: /rk3399_rockchip-uboot/drivers/net/Makefile (revision 395bce4f59a507a60a475f7ee46bed47de9482df)
10c0a9cdaSMichal Simek#
20c0a9cdaSMichal Simek# (C) Copyright 2006
30c0a9cdaSMichal Simek# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
40c0a9cdaSMichal Simek#
50c0a9cdaSMichal Simek# See file CREDITS for list of people who contributed to this
60c0a9cdaSMichal Simek# project.
70c0a9cdaSMichal Simek#
80c0a9cdaSMichal Simek# This program is free software; you can redistribute it and/or
90c0a9cdaSMichal Simek# modify it under the terms of the GNU General Public License as
100c0a9cdaSMichal Simek# published by the Free Software Foundation; either version 2 of
110c0a9cdaSMichal Simek# the License, or (at your option) any later version.
120c0a9cdaSMichal Simek#
130c0a9cdaSMichal Simek# This program is distributed in the hope that it will be useful,
140c0a9cdaSMichal Simek# but WITHOUT ANY WARRANTY; without even the implied warranty of
150c0a9cdaSMichal Simek# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
160c0a9cdaSMichal Simek# GNU General Public License for more details.
170c0a9cdaSMichal Simek#
180c0a9cdaSMichal Simek# You should have received a copy of the GNU General Public License
190c0a9cdaSMichal Simek# along with this program; if not, write to the Free Software
200c0a9cdaSMichal Simek# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
210c0a9cdaSMichal Simek# MA 02111-1307 USA
220c0a9cdaSMichal Simek#
230c0a9cdaSMichal Simek
240c0a9cdaSMichal Simekinclude $(TOPDIR)/config.mk
250c0a9cdaSMichal Simek
268e585f02STsiChung LiewLIB 	:= $(obj)libnet.a
27991b089dSMichal Simek
282439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += 3c589.o
292439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.o
30*395bce4fSMike FrysingerCOBJS-$(CONFIG_BFIN_MAC) += bfin_mac.o
312439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += cs8900.o
322439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += dc2114x.o
332439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += dm9000x.o
342439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += e1000.o
352439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += eepro100.o
362439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += enc28j60.o
37777d1abdSTsiChungLiewCOBJS-y += fsl_mcdmafec.o
382439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += inca-ip_sw.o
392439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ks8695eth.o
402439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += lan91c96.o
412439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += macb.o
422439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += mcffec.o
432439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += natsemi.o
442439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ne2000.o
452439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += netarm_eth.o
462439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += netconsole.o
472439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ns7520_eth.o
482439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ns8382x.o
492439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ns9750_eth.o
502439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += pcnet.o
512439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += plb2800_eth.o
522439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += rtl8019.o
532439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += rtl8139.o
542439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += rtl8169.o
552439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += s3c4510b_eth.o
562439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += smc91111.o
572439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += tigon3.o
582439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += tsec.o
592439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += tsi108_eth.o
602439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += uli526x.o
610c0a9cdaSMichal Simek
622439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS	:= $(COBJS-y)
630c0a9cdaSMichal SimekSRCS 	:= $(COBJS:.o=.c)
640c0a9cdaSMichal SimekOBJS 	:= $(addprefix $(obj),$(COBJS))
650c0a9cdaSMichal Simek
660c0a9cdaSMichal Simekall:	$(LIB)
670c0a9cdaSMichal Simek
680c0a9cdaSMichal Simek$(LIB):	$(obj).depend $(OBJS)
690c0a9cdaSMichal Simek	$(AR) $(ARFLAGS) $@ $(OBJS)
700c0a9cdaSMichal Simek
710c0a9cdaSMichal Simek#########################################################################
720c0a9cdaSMichal Simek
730c0a9cdaSMichal Simek# defines $(obj).depend target
740c0a9cdaSMichal Simekinclude $(SRCTREE)/rules.mk
750c0a9cdaSMichal Simek
760c0a9cdaSMichal Simeksinclude $(obj).depend
770c0a9cdaSMichal Simek
780c0a9cdaSMichal Simek#########################################################################
79