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