1*49249e13SPoonam Aggrwal#
2*49249e13SPoonam Aggrwal# Copyright 2010-2011 Freescale Semiconductor, Inc.
3*49249e13SPoonam Aggrwal#
4*49249e13SPoonam Aggrwal# See file CREDITS for list of people who contributed to this
5*49249e13SPoonam Aggrwal# project.
6*49249e13SPoonam Aggrwal#
7*49249e13SPoonam Aggrwal# This program is free software; you can redistribute it and/or
8*49249e13SPoonam Aggrwal# modify it under the terms of the GNU General Public License as
9*49249e13SPoonam Aggrwal# published by the Free Software Foundation; either version 2 of
10*49249e13SPoonam Aggrwal# the License, or (at your option) any later version.
11*49249e13SPoonam Aggrwal#
12*49249e13SPoonam Aggrwal# This program is distributed in the hope that it will be useful,
13*49249e13SPoonam Aggrwal# but WITHOUT ANY WARRANTY; without even the implied warranty of
14*49249e13SPoonam Aggrwal# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
15*49249e13SPoonam Aggrwal# GNU General Public License for more details.
16*49249e13SPoonam Aggrwal#
17*49249e13SPoonam Aggrwal# You should have received a copy of the GNU General Public License
18*49249e13SPoonam Aggrwal# along with this program; if not, write to the Free Software
19*49249e13SPoonam Aggrwal# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20*49249e13SPoonam Aggrwal# MA 02111-1307 USA
21*49249e13SPoonam Aggrwal#
22*49249e13SPoonam Aggrwal
23*49249e13SPoonam Aggrwalinclude $(TOPDIR)/config.mk
24*49249e13SPoonam Aggrwal
25*49249e13SPoonam AggrwalLIB	= $(obj)lib$(BOARD).o
26*49249e13SPoonam Aggrwal
27*49249e13SPoonam AggrwalCOBJS-y	+= $(BOARD).o
28*49249e13SPoonam AggrwalCOBJS-y	+= ddr.o
29*49249e13SPoonam AggrwalCOBJS-y	+= law.o
30*49249e13SPoonam AggrwalCOBJS-y	+= tlb.o
31*49249e13SPoonam Aggrwal
32*49249e13SPoonam AggrwalSRCS	:= $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
33*49249e13SPoonam AggrwalOBJS	:= $(addprefix $(obj),$(COBJS-y))
34*49249e13SPoonam AggrwalSOBJS	:= $(addprefix $(obj),$(SOBJS))
35*49249e13SPoonam Aggrwal
36*49249e13SPoonam Aggrwal$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
37*49249e13SPoonam Aggrwal	$(call cmd_link_o_target, $(OBJS))
38*49249e13SPoonam Aggrwal
39*49249e13SPoonam Aggrwalclean:
40*49249e13SPoonam Aggrwal	rm -f $(OBJS) $(SOBJS)
41*49249e13SPoonam Aggrwal
42*49249e13SPoonam Aggrwaldistclean:	clean
43*49249e13SPoonam Aggrwal	rm -f $(LIB) core *.bak .depend
44*49249e13SPoonam Aggrwal
45*49249e13SPoonam Aggrwal#########################################################################
46*49249e13SPoonam Aggrwal
47*49249e13SPoonam Aggrwal# defines $(obj).depend target
48*49249e13SPoonam Aggrwalinclude $(SRCTREE)/rules.mk
49*49249e13SPoonam Aggrwal
50*49249e13SPoonam Aggrwalsinclude $(obj).depend
51*49249e13SPoonam Aggrwal
52*49249e13SPoonam Aggrwal#########################################################################
53