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 31*cba46148STimur TabiCOBJS-$(CONFIG_P3041DS) += eth_hydra.o 322915609aSAndy FlemingCOBJS-$(CONFIG_P4080DS) += eth_p4080.o 33*cba46148STimur TabiCOBJS-$(CONFIG_P5020DS) += eth_hydra.o 34e02aea61SKumar GalaCOBJS-$(CONFIG_P3041DS) += p3041ds_ddr.o 3528a96671SYork SunCOBJS-$(CONFIG_P4080DS) += p4080ds_ddr.o 36e02aea61SKumar GalaCOBJS-$(CONFIG_P5020DS) += p5020ds_ddr.o 37d1712369SKumar GalaCOBJS-$(CONFIG_PCI) += pci.o 38d1712369SKumar GalaCOBJS-y += law.o 39d1712369SKumar GalaCOBJS-y += tlb.o 40d1712369SKumar Gala 41d1712369SKumar GalaSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 42d1712369SKumar GalaOBJS := $(addprefix $(obj),$(COBJS-y)) 43d1712369SKumar GalaSOBJS := $(addprefix $(obj),$(SOBJS)) 44d1712369SKumar Gala 45d1712369SKumar Gala$(LIB): $(obj).depend $(OBJS) $(SOBJS) 466d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 47d1712369SKumar Gala 48d1712369SKumar Galaclean: 49d1712369SKumar Gala rm -f $(OBJS) $(SOBJS) 50d1712369SKumar Gala 51d1712369SKumar Galadistclean: clean 52d1712369SKumar Gala rm -f $(LIB) core *.bak .depend 53d1712369SKumar Gala 54d1712369SKumar Gala######################################################################### 55d1712369SKumar Gala 56d1712369SKumar Gala# defines $(obj).depend target 57d1712369SKumar Galainclude $(SRCTREE)/rules.mk 58d1712369SKumar Gala 59d1712369SKumar Galasinclude $(obj).depend 60d1712369SKumar Gala 61d1712369SKumar Gala######################################################################### 62