1d1712369SKumar Gala# 2d1712369SKumar Gala# Copyright 2007-2009 Freescale Semiconductor, Inc. 3d1712369SKumar Gala# (C) Copyright 2001-2006 4d1712369SKumar Gala# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5d1712369SKumar Gala# 6d1712369SKumar Gala# See file CREDITS for list of people who contributed to this 7d1712369SKumar Gala# project. 8d1712369SKumar Gala# 9d1712369SKumar Gala# This program is free software; you can redistribute it and/or 10d1712369SKumar Gala# modify it under the terms of the GNU General Public License as 11d1712369SKumar Gala# published by the Free Software Foundation; either version 2 of 12d1712369SKumar Gala# the License, or (at your option) any later version. 13d1712369SKumar Gala# 14d1712369SKumar Gala# This program is distributed in the hope that it will be useful, 15d1712369SKumar Gala# but WITHOUT ANY WARRANTY; without even the implied warranty of 16d1712369SKumar Gala# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17d1712369SKumar Gala# GNU General Public License for more details. 18d1712369SKumar Gala# 19d1712369SKumar Gala# You should have received a copy of the GNU General Public License 20d1712369SKumar Gala# along with this program; if not, write to the Free Software 21d1712369SKumar Gala# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 22d1712369SKumar Gala# MA 02111-1307 USA 23d1712369SKumar Gala# 24d1712369SKumar Gala 25d1712369SKumar Galainclude $(TOPDIR)/config.mk 26d1712369SKumar Gala 276d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 28d1712369SKumar Gala 29d1712369SKumar GalaCOBJS-y += $(BOARD).o 3028a96671SYork SunCOBJS-y += ddr.o 31cba46148STimur TabiCOBJS-$(CONFIG_P3041DS) += eth_hydra.o 322915609aSAndy FlemingCOBJS-$(CONFIG_P4080DS) += eth_p4080.o 33cba46148STimur TabiCOBJS-$(CONFIG_P5020DS) += eth_hydra.o 34*d31e53b4STimur TabiCOBJS-$(CONFIG_P5040DS) += eth_superhydra.o 35e02aea61SKumar GalaCOBJS-$(CONFIG_P3041DS) += p3041ds_ddr.o 3628a96671SYork SunCOBJS-$(CONFIG_P4080DS) += p4080ds_ddr.o 37e02aea61SKumar GalaCOBJS-$(CONFIG_P5020DS) += p5020ds_ddr.o 38*d31e53b4STimur TabiCOBJS-$(CONFIG_P5040DS) += p5040ds_ddr.o 39d1712369SKumar Gala 40d1712369SKumar GalaSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 41d1712369SKumar GalaOBJS := $(addprefix $(obj),$(COBJS-y)) 42d1712369SKumar GalaSOBJS := $(addprefix $(obj),$(SOBJS)) 43d1712369SKumar Gala 44d1712369SKumar Gala$(LIB): $(obj).depend $(OBJS) $(SOBJS) 456d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 46d1712369SKumar Gala 47d1712369SKumar Gala######################################################################### 48d1712369SKumar Gala 49d1712369SKumar Gala# defines $(obj).depend target 50d1712369SKumar Galainclude $(SRCTREE)/rules.mk 51d1712369SKumar Gala 52d1712369SKumar Galasinclude $(obj).depend 53d1712369SKumar Gala 54d1712369SKumar Gala######################################################################### 55