]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/blob - drivers/net/phy/Makefile
5e90d7098db5b51ca09c303636c6fcab42d3593b
[glsdk/glsdk-u-boot.git] / drivers / net / phy / Makefile
1 #
2 # (C) Copyright 2008
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # See file CREDITS for list of people who contributed to this
6 # project.
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of
11 # the License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 # MA 02111-1307 USA
22 #
24 include $(TOPDIR)/config.mk
26 LIB     := $(obj)libphy.o
28 COBJS-$(CONFIG_BITBANGMII) += miiphybb.o
29 COBJS-$(CONFIG_MV88E61XX_SWITCH) += mv88e61xx.o
30 COBJS-$(CONFIG_MV88E6352_SWITCH) += mv88e6352.o
32 COBJS-$(CONFIG_PHYLIB) += phy.o
33 COBJS-$(CONFIG_PHYLIB_10G) += generic_10g.o
34 COBJS-$(CONFIG_PHY_ATHEROS) += atheros.o
35 COBJS-$(CONFIG_PHY_BROADCOM) += broadcom.o
36 COBJS-$(CONFIG_PHY_DAVICOM) += davicom.o
37 COBJS-$(CONFIG_PHY_LXT) += lxt.o
38 COBJS-$(CONFIG_PHY_MARVELL) += marvell.o
39 COBJS-$(CONFIG_PHY_MICREL) += micrel.o
40 COBJS-$(CONFIG_PHY_NATSEMI) += natsemi.o
41 COBJS-$(CONFIG_PHY_REALTEK) += realtek.o
42 COBJS-$(CONFIG_PHY_SMSC) += smsc.o
43 COBJS-$(CONFIG_PHY_TERANETICS) += teranetics.o
44 COBJS-$(CONFIG_PHY_VITESSE) += vitesse.o
46 COBJS   := $(COBJS-y)
47 SRCS    := $(COBJS:.o=.c)
48 OBJS    := $(addprefix $(obj),$(COBJS))
50 all:    $(LIB)
52 $(LIB): $(obj).depend $(OBJS)
53         $(call cmd_link_o_target, $(OBJS))
55 #########################################################################
57 # defines $(obj).depend target
58 include $(SRCTREE)/rules.mk
60 sinclude $(obj).depend
62 #########################################################################