1*c916d7c9SKumar Gala# 2*c916d7c9SKumar Gala# Copyright 2009-2011 Freescale Semiconductor, Inc. 3*c916d7c9SKumar Gala# 4*c916d7c9SKumar Gala# See file CREDITS for list of people who contributed to this 5*c916d7c9SKumar Gala# project. 6*c916d7c9SKumar Gala# 7*c916d7c9SKumar Gala# This program is free software; you can redistribute it and/or 8*c916d7c9SKumar Gala# modify it under the terms of the GNU General Public License as 9*c916d7c9SKumar Gala# published by the Free Software Foundation; either version 2 of 10*c916d7c9SKumar Gala# the License, or (at your option) any later version. 11*c916d7c9SKumar Gala# 12*c916d7c9SKumar Gala# This program is distributed in the hope that it will be useful, 13*c916d7c9SKumar Gala# but WITHOUT ANY WARRANTY; without even the implied warranty of 14*c916d7c9SKumar Gala# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*c916d7c9SKumar Gala# GNU General Public License for more details. 16*c916d7c9SKumar Gala# 17*c916d7c9SKumar Gala# You should have received a copy of the GNU General Public License 18*c916d7c9SKumar Gala# along with this program; if not, write to the Free Software 19*c916d7c9SKumar Gala# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20*c916d7c9SKumar Gala# MA 02111-1307 USA 21*c916d7c9SKumar Gala# 22*c916d7c9SKumar Gala 23*c916d7c9SKumar Galainclude $(TOPDIR)/config.mk 24*c916d7c9SKumar Gala 25*c916d7c9SKumar GalaLIB := $(obj)libfm.o 26*c916d7c9SKumar Gala 27*c916d7c9SKumar Galaifdef CONFIG_FMAN_ENET 28*c916d7c9SKumar GalaCOBJS-y += dtsec.o 29*c916d7c9SKumar GalaCOBJS-y += eth.o 30*c916d7c9SKumar GalaCOBJS-y += fm.o 31*c916d7c9SKumar GalaCOBJS-y += init.o 32*c916d7c9SKumar GalaCOBJS-y += tgec.o 33*c916d7c9SKumar GalaCOBJS-y += tgec_phy.o 34*c916d7c9SKumar Gala 35*c916d7c9SKumar Gala# SoC specific SERDES support 36*c916d7c9SKumar GalaCOBJS-$(CONFIG_P1017) += p1023.o 37*c916d7c9SKumar GalaCOBJS-$(CONFIG_P1023) += p1023.o 38*c916d7c9SKumar Gala# The P204x, P304x, and P5020 are the same 39*c916d7c9SKumar GalaCOBJS-$(CONFIG_PPC_P2040) += p5020.o 40*c916d7c9SKumar GalaCOBJS-$(CONFIG_PPC_P2041) += p5020.o 41*c916d7c9SKumar GalaCOBJS-$(CONFIG_PPC_P3041) += p5020.o 42*c916d7c9SKumar GalaCOBJS-$(CONFIG_PPC_P4080) += p4080.o 43*c916d7c9SKumar GalaCOBJS-$(CONFIG_PPC_P5020) += p5020.o 44*c916d7c9SKumar Galaendif 45*c916d7c9SKumar Gala 46*c916d7c9SKumar GalaCOBJS := $(COBJS-y) 47*c916d7c9SKumar GalaSRCS := $(COBJS:.o=.c) 48*c916d7c9SKumar GalaOBJS := $(addprefix $(obj),$(COBJS)) 49*c916d7c9SKumar Gala 50*c916d7c9SKumar Galaall: $(LIB) 51*c916d7c9SKumar Gala 52*c916d7c9SKumar Gala$(LIB): $(obj).depend $(OBJS) 53*c916d7c9SKumar Gala $(call cmd_link_o_target, $(OBJS)) 54*c916d7c9SKumar Gala 55*c916d7c9SKumar Gala######################################################################### 56*c916d7c9SKumar Gala 57*c916d7c9SKumar Galainclude $(SRCTREE)/rules.mk 58*c916d7c9SKumar Gala 59*c916d7c9SKumar Galasinclude $(obj).depend 60*c916d7c9SKumar Gala 61*c916d7c9SKumar Gala######################################################################### 62