1415a613bSKumar Gala#
2415a613bSKumar Gala# Copyright 2004 Freescale Semiconductor.
3415a613bSKumar Gala# (C) Copyright 2001-2006
4415a613bSKumar Gala# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5415a613bSKumar Gala#
6415a613bSKumar Gala# See file CREDITS for list of people who contributed to this
7415a613bSKumar Gala# project.
8415a613bSKumar Gala#
9415a613bSKumar Gala# This program is free software; you can redistribute it and/or
10415a613bSKumar Gala# modify it under the terms of the GNU General Public License as
11415a613bSKumar Gala# published by the Free Software Foundation; either version 2 of
12415a613bSKumar Gala# the License, or (at your option) any later version.
13415a613bSKumar Gala#
14415a613bSKumar Gala# This program is distributed in the hope that it will be useful,
15415a613bSKumar Gala# but WITHOUT ANY WARRANTY; without even the implied warranty of
16415a613bSKumar Gala# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17415a613bSKumar Gala# GNU General Public License for more details.
18415a613bSKumar Gala#
19415a613bSKumar Gala# You should have received a copy of the GNU General Public License
20415a613bSKumar Gala# along with this program; if not, write to the Free Software
21415a613bSKumar Gala# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22415a613bSKumar Gala# MA 02111-1307 USA
23415a613bSKumar Gala#
24415a613bSKumar Gala
25415a613bSKumar Galainclude $(TOPDIR)/config.mk
26415a613bSKumar Gala
27415a613bSKumar GalaLIB	= $(obj)lib$(BOARD).a
28415a613bSKumar Gala
2925eedb2cSJon LoeligerCOBJS-y	+= $(BOARD).o
30*2b40edb1SJon LoeligerCOBJS-y	+= ddr.o
3125eedb2cSJon LoeligerCOBJS-y	+= law.o
3225eedb2cSJon LoeligerCOBJS-y	+= tlb.o
33415a613bSKumar Gala
3425eedb2cSJon LoeligerSRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
3525eedb2cSJon LoeligerOBJS	:= $(addprefix $(obj),$(COBJS-y))
3625eedb2cSJon LoeligerSOBJS	:= $(addprefix $(obj),$(SOBJS-y))
37415a613bSKumar Gala
38415a613bSKumar Gala$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
39415a613bSKumar Gala	$(AR) $(ARFLAGS) $@ $(OBJS)
40415a613bSKumar Gala
41415a613bSKumar Galaclean:
42415a613bSKumar Gala	rm -f $(OBJS) $(SOBJS)
43415a613bSKumar Gala
44415a613bSKumar Galadistclean:	clean
45c8a3b109SWolfgang Denk	rm -f $(LIB) core *.bak $(obj).depend
46415a613bSKumar Gala
47415a613bSKumar Gala#########################################################################
48415a613bSKumar Gala
49415a613bSKumar Gala# defines $(obj).depend target
50415a613bSKumar Galainclude $(SRCTREE)/rules.mk
51415a613bSKumar Gala
52415a613bSKumar Galasinclude $(obj).depend
53415a613bSKumar Gala
54415a613bSKumar Gala#########################################################################
55