xref: /rk3399_rockchip-uboot/drivers/net/Makefile (revision 2439e4bfa111babf4bc07ba20efbf3e36036813e)
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
28*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += 3c589.o
29*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.o
30*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += cs8900.o
31*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += dc2114x.o
32*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += dm9000x.o
33*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += e1000.o
34*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += eepro100.o
35*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += enc28j60.o
36*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += inca-ip_sw.o
37*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ks8695eth.o
38*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += lan91c96.o
39*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += macb.o
40*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += mcffec.o
41*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += natsemi.o
42*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ne2000.o
43*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += netarm_eth.o
44*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += netconsole.o
45*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ns7520_eth.o
46*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ns8382x.o
47*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ns9750_eth.o
48*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += pcnet.o
49*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += plb2800_eth.o
50*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += rtl8019.o
51*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += rtl8139.o
52*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += rtl8169.o
53*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += s3c4510b_eth.o
54*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += smc91111.o
55*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += tigon3.o
56*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += tsec.o
57*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += tsi108_eth.o
58*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += uli526x.o
590c0a9cdaSMichal Simek
60*2439e4bfSJean-Christophe PLAGNIOL-VILLARDCOBJS	:= $(COBJS-y)
610c0a9cdaSMichal SimekSRCS 	:= $(COBJS:.o=.c)
620c0a9cdaSMichal SimekOBJS 	:= $(addprefix $(obj),$(COBJS))
630c0a9cdaSMichal Simek
640c0a9cdaSMichal Simekall:	$(LIB)
650c0a9cdaSMichal Simek
660c0a9cdaSMichal Simek$(LIB):	$(obj).depend $(OBJS)
670c0a9cdaSMichal Simek	$(AR) $(ARFLAGS) $@ $(OBJS)
680c0a9cdaSMichal Simek
690c0a9cdaSMichal Simek#########################################################################
700c0a9cdaSMichal Simek
710c0a9cdaSMichal Simek# defines $(obj).depend target
720c0a9cdaSMichal Simekinclude $(SRCTREE)/rules.mk
730c0a9cdaSMichal Simek
740c0a9cdaSMichal Simeksinclude $(obj).depend
750c0a9cdaSMichal Simek
760c0a9cdaSMichal Simek#########################################################################
77