1*c1393bb3SVeli-Pekka Peltola#
2*c1393bb3SVeli-Pekka Peltola# (C) Copyright 2000-2006
3*c1393bb3SVeli-Pekka Peltola# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*c1393bb3SVeli-Pekka Peltola#
5*c1393bb3SVeli-Pekka Peltola# See file CREDITS for list of people who contributed to this
6*c1393bb3SVeli-Pekka Peltola# project.
7*c1393bb3SVeli-Pekka Peltola#
8*c1393bb3SVeli-Pekka Peltola# This program is free software; you can redistribute it and/or
9*c1393bb3SVeli-Pekka Peltola# modify it under the terms of the GNU General Public License as
10*c1393bb3SVeli-Pekka Peltola# published by the Free Software Foundation; either version 2 of
11*c1393bb3SVeli-Pekka Peltola# the License, or (at your option) any later version.
12*c1393bb3SVeli-Pekka Peltola#
13*c1393bb3SVeli-Pekka Peltola# This program is distributed in the hope that it will be useful,
14*c1393bb3SVeli-Pekka Peltola# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*c1393bb3SVeli-Pekka Peltola# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*c1393bb3SVeli-Pekka Peltola# GNU General Public License for more details.
17*c1393bb3SVeli-Pekka Peltola#
18*c1393bb3SVeli-Pekka Peltola# You should have received a copy of the GNU General Public License
19*c1393bb3SVeli-Pekka Peltola# along with this program; if not, write to the Free Software
20*c1393bb3SVeli-Pekka Peltola# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*c1393bb3SVeli-Pekka Peltola# MA 02111-1307 USA
22*c1393bb3SVeli-Pekka Peltola#
23*c1393bb3SVeli-Pekka Peltola
24*c1393bb3SVeli-Pekka Peltolainclude $(TOPDIR)/config.mk
25*c1393bb3SVeli-Pekka Peltola
26*c1393bb3SVeli-Pekka PeltolaLIB	= $(obj)lib$(BOARD).o
27*c1393bb3SVeli-Pekka Peltola
28*c1393bb3SVeli-Pekka Peltolaifndef	CONFIG_SPL_BUILD
29*c1393bb3SVeli-Pekka PeltolaCOBJS	:= apx4devkit.o
30*c1393bb3SVeli-Pekka Peltolaelse
31*c1393bb3SVeli-Pekka PeltolaCOBJS	:= spl_boot.o
32*c1393bb3SVeli-Pekka Peltolaendif
33*c1393bb3SVeli-Pekka Peltola
34*c1393bb3SVeli-Pekka PeltolaSRCS	:= $(COBJS:.o=.c)
35*c1393bb3SVeli-Pekka PeltolaOBJS	:= $(addprefix $(obj),$(COBJS))
36*c1393bb3SVeli-Pekka Peltola
37*c1393bb3SVeli-Pekka Peltola$(LIB):	$(obj).depend $(OBJS)
38*c1393bb3SVeli-Pekka Peltola	$(call cmd_link_o_target, $(OBJS))
39*c1393bb3SVeli-Pekka Peltola
40*c1393bb3SVeli-Pekka Peltola#########################################################################
41*c1393bb3SVeli-Pekka Peltola
42*c1393bb3SVeli-Pekka Peltola# defines $(obj).depend target
43*c1393bb3SVeli-Pekka Peltolainclude $(SRCTREE)/rules.mk
44*c1393bb3SVeli-Pekka Peltola
45*c1393bb3SVeli-Pekka Peltolasinclude $(obj).depend
46*c1393bb3SVeli-Pekka Peltola
47*c1393bb3SVeli-Pekka Peltola#########################################################################
48