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